fixed bug leaving copies of archive backups (no testcase for this)
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 12 Jan 2007 15:47:39 +0000 (15:47 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 12 Jan 2007 15:47:39 +0000 (15:47 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@340 be28352e-c001-0410-b1a7-c7978e42abec

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

index d8c64c3..3f1d31f 100644 (file)
@@ -307,7 +307,7 @@ public class VamsasArchive {
     
     if (!virginArchive) {
       makeBackup();
-      donotdeletebackup=false; // external reference has been made.
+      donotdeletebackup=true; // external reference has been made.
       return ((original!=null) ? originalBackup : null);
     }
     return null;