JAL-3141 Forgot this file, sorry!
[jalview.git] / src / jalview / gui / Jalview2XML.java
index 2c3d2d2..553c4fa 100644 (file)
@@ -464,15 +464,11 @@ public class Jalview2XML
     try
     {
 
-      BackupFiles backupfiles = new BackupFiles(statefile);
-      fos = new FileOutputStream(backupfiles.getTempFile());
+      fos = new FileOutputStream(statefile);
 
       JarOutputStream jout = new JarOutputStream(fos);
       saveState(jout);
 
-      backupfiles.setWriteSuccess(true);
-      backupfiles.rollBackupsAndRenameTempFile();
-
     } catch (Exception e)
     {
       // TODO: inform user of the problem - they need to know if their data was