From: jprocter Date: Wed, 24 May 2006 13:30:25 +0000 (+0000) Subject: changes propagated from Provenance.App entry. X-Git-Tag: Release_0.2~292 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=88cc24757f35ebfea5cd8ab8a5c49d05b835ede3;p=vamsas.git changes propagated from Provenance.App entry. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@228 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/objects/utils/AppDataReference.java b/src/org/vamsas/objects/utils/AppDataReference.java index 50dc96b..414c8da 100644 --- a/src/org/vamsas/objects/utils/AppDataReference.java +++ b/src/org/vamsas/objects/utils/AppDataReference.java @@ -98,8 +98,8 @@ public class AppDataReference { */ static public boolean equals(ApplicationData p, ClientHandle c) { if ( - ((c.getClientUrn()==null) || p.getUrn().equals(c.getClientUrn())) - && + //((c.getClientUrn()==null) || p.getUrn().equals(c.getClientUrn())) + //&& (p.getName().equals(c.getClientName())) && ((c.getVersion()==null) || (p.getVersion().equals(c.getVersion()))) @@ -146,13 +146,14 @@ public class AppDataReference { */ public static String uniqueAppDataReference(VamsasDocument dest,String base) { String urn = new String(base); + for (int i=0, j=dest.getApplicationDataCount(); i