more fixes for clientdocument/simpleclient. Testign the vamsasArchive reader and...
[vamsas.git] / src / org / vamsas / client / simpleclient / SimpleClient.java
index 970bcfa..e824549 100644 (file)
@@ -288,10 +288,11 @@ public class SimpleClient implements IClient {
     // garbage collect the ClientDocument instance.
     try {
       cdocument.finalize();
+
     } catch (Throwable e) {
       log.error("Exception when trying to garbage collect ClientDocument for "+session.getSessionUrn(), e);
     }
-    cdocument = null;
+    cdocument = null; // this is probably done by finalize
   }
   
   /*
@@ -341,7 +342,7 @@ public class SimpleClient implements IClient {
     }
     
     if (!evgen.isAlive()) {
-      log.warn("pollUpdate called before joinSession()");
+      log.warn("pollUpdate called before joinSession() - trying to do this.");
       try {
         joinSession();
       } catch (Exception e) {
@@ -386,6 +387,6 @@ public class SimpleClient implements IClient {
    */
   public void importDocument(File location) {
     // TODO LATER: implement SimpleClient.importDocument()
-    log.error("importDocument is not implemented for a SimpleClient Session.");
+    log.error("importDocument is not yet implemented for a SimpleClient Session.");
   }
 }