From: jprocter Date: Fri, 17 Aug 2007 09:48:43 +0000 (+0000) Subject: fixed update of existing appdata jar entry bug (raised a Duplicate zipEnty exception) X-Git-Tag: Release_0.2~90 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7a8700f3ff8fb1789955bd692f4c187ce4f653cd;p=vamsas.git fixed update of existing appdata jar entry bug (raised a Duplicate zipEnty exception) git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@430 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java b/src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java index 2477c70..0cb8909 100644 --- a/src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java +++ b/src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java @@ -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()) {