attempt to fix occasional backupSessionFile exception.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 24 Apr 2007 16:12:47 +0000 (16:12 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 24 Apr 2007 16:12:47 +0000 (16:12 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@382 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/client/simpleclient/SessionFile.java

index 2d213b2..9a27f5e 100644 (file)
@@ -110,7 +110,7 @@ public class SessionFile {
    * @return Backed up SessionFile or null if failed to make backup.
    */
   protected File backupSessionFile() {
-    return backupSessionFile(null, sessionFile.getName(),".old", sessionFile.getParentFile());
+    return backupSessionFile(fileLock, sessionFile.getName(),".old", sessionFile.getParentFile());
   }
 
   protected File backupSessionFile(Lock extantLock, String backupPrefix, String backupSuffix, File backupDir) {