From 1315fee530e537e57c6a208a622fa66a46fb915f Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 24 Apr 2007 16:12:47 +0000 Subject: [PATCH] attempt to fix occasional backupSessionFile exception. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java index 2d213b2..9a27f5e 100644 --- a/src/uk/ac/vamsas/client/simpleclient/SessionFile.java +++ b/src/uk/ac/vamsas/client/simpleclient/SessionFile.java @@ -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) { -- 1.7.10.2