From: jprocter Date: Tue, 24 Apr 2007 16:12:47 +0000 (+0000) Subject: attempt to fix occasional backupSessionFile exception. X-Git-Tag: Release_0.2~138 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1315fee530e537e57c6a208a622fa66a46fb915f;p=vamsas.git attempt to fix occasional backupSessionFile exception. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@382 be28352e-c001-0410-b1a7-c7978e42abec --- 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) {