From c649ef9148db1482f57b04a5612f7d70231f00c1 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 17 Aug 2007 14:38:52 +0000 Subject: [PATCH] TODO comments git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@433 be28352e-c001-0410-b1a7-c7978e42abec --- src/uk/ac/vamsas/client/simpleclient/SessionFile.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java index 318c830..e2d1db7 100644 --- a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java +++ b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java @@ -165,9 +165,13 @@ public class SessionFile { lockFile(); trafile = fileLock.getRaFile(); }*/ + // TODO JBPNote: attempt to ensure save really saves the VamDoc.jar file trafile.seek(0); trafile.getChannel().transferFrom(nrafile.getChannel(), 0, nrafile.length()); + // JBPNote: attempt to close the streams to flush the data out + // trafile.close(); + //nrafile.close(); } /** * remove all trace of the sessionFile file -- 1.7.10.2