fixed update of existing appdata jar entry bug (raised a Duplicate zipEnty exception)
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 17 Aug 2007 09:48:43 +0000 (09:48 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 17 Aug 2007 09:48:43 +0000 (09:48 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@430 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java

index 2477c70..0cb8909 100644 (file)
@@ -278,7 +278,7 @@ public class VamsasArchive {
    * @return true if entry was unique and was added.
    */
   private boolean addEntry(String entry) {
-    if (entries!=null)
+    if (entries==null)
       entries=new Hashtable();
     if (log.isDebugEnabled())
     {