JAL-3141. This adds quite a lot of code to allow an 'Include backup files' checkbox...
[jalview.git] / src / jalview / io / BackupFilenameFilter.java
index 41c6859..573040f 100644 (file)
@@ -43,14 +43,4 @@ public class BackupFilenameFilter implements FilenameFilter
     return bffp.isBackupFile();
   }
 
-  public static String getBackupFilename(int index, String base,
-          String template, int digits)
-  {
-    String numString = String.format("%0" + digits + "d", index);
-    String backupSuffix = template.replaceAll(BackupFiles.NUM_PLACEHOLDER,
-            numString);
-    String backupfilename = base + backupSuffix;
-    return backupfilename;
-  }
-
 }