JAL-3121 'attributes map' in GFF3 without special 'jvmap_' token
[jalview.git] / src / jalview / io / BackupFilesPresetEntry.java
index a5bea91..4face29 100644 (file)
@@ -104,7 +104,7 @@ public class BackupFilesPresetEntry
       confirmDelete = Boolean.valueOf(st.nextToken());
     } catch (Exception e)
     {
-      System.out.println("Error parsing backupfiles scheme '" + line + "'");
+      Cache.log.error("Error parsing backupfiles scheme '" + line + "'");
     }
 
     return new BackupFilesPresetEntry(suffix, digits, reverse, keepAll,
@@ -139,7 +139,14 @@ public class BackupFilesPresetEntry
       new IntKeyStringValueEntry(BACKUPFILESSCHEMECUSTOM,
               MessageManager.getString("label.custom")) };
 
-  public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<>()
+  public static final String[] backupfilesPresetEntryDescriptions = {
+      MessageManager.getString("label.default_description"),
+      MessageManager.getString("label.single_file_description"),
+      MessageManager.getString("label.keep_all_versions_description"),
+      MessageManager.getString("label.rolled_backups_description"),
+      MessageManager.getString("label.custom_description") };
+
+  public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<Integer, BackupFilesPresetEntry>()
   {
     /**
      *