git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3141. This adds quite a lot of code to allow an 'Include backup files' checkbox...
[jalview.git]
/
src
/
jalview
/
io
/
BackupFiles.java
diff --git
a/src/jalview/io/BackupFiles.java
b/src/jalview/io/BackupFiles.java
index
71b31a7
..
65232fd
100644
(file)
--- a/
src/jalview/io/BackupFiles.java
+++ b/
src/jalview/io/BackupFiles.java
@@
-280,7
+280,7
@@
public class BackupFiles
{
// int n = tempMax - m;
String backupfilename = dir + File.separatorChar
{
// int n = tempMax - m;
String backupfilename = dir + File.separatorChar
- + BackupFilenameFilter.getBackupFilename(n, basename,
+ + BackupFilenameParts.getBackupFilename(n, basename,
suffix, digits);
File backupfile_n = new File(backupfilename);
suffix, digits);
File backupfile_n = new File(backupfilename);
@@
-352,7
+352,7
@@
public class BackupFiles
// Let's make the new backup file!! yay, got there at last!
String latestBackupFilename = dir + File.separatorChar
// Let's make the new backup file!! yay, got there at last!
String latestBackupFilename = dir + File.separatorChar
- + BackupFilenameFilter.getBackupFilename(nextIndexNum, basename,
+ + BackupFilenameParts.getBackupFilename(nextIndexNum, basename,
suffix, digits);
File latestBackupFile = new File(latestBackupFilename);
ret = ret && file.renameTo(latestBackupFile);
suffix, digits);
File latestBackupFile = new File(latestBackupFilename);
ret = ret && file.renameTo(latestBackupFile);