refactored IClientAppdata and implementation has been minimally tested and bugfixed...
[vamsas.git] / src / uk / ac / vamsas / client / simpleclient / VamsasArchive.java
index 3f1d31f..2477c70 100644 (file)
@@ -20,6 +20,7 @@ import java.util.jar.Manifest;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import uk.ac.vamsas.client.AppDataOutputStream;
 import uk.ac.vamsas.client.ClientHandle;
 import uk.ac.vamsas.client.IVorbaIdFactory;
 import uk.ac.vamsas.client.SessionHandle;
@@ -279,6 +280,10 @@ public class VamsasArchive {
   private boolean addEntry(String entry) {
     if (entries!=null)
       entries=new Hashtable();
+    if (log.isDebugEnabled())
+    {   
+      log.debug("validating '"+entry+"' in hash for "+this);
+    }
     if (entries.containsKey(entry))
       return false;
     entries.put(entry, new Integer(entries.size()));