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