From 7a8700f3ff8fb1789955bd692f4c187ce4f653cd Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 17 Aug 2007 09:48:43 +0000 Subject: [PATCH] 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 --- src/uk/ac/vamsas/client/simpleclient/VamsasArchive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 1.7.10.2