fixed update of existing appdata jar entry bug (raised a Duplicate zipEnty exception)
[vamsas.git] / 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())
     {