JAL-3141 Added HashMap types for Java 1.8 compatibility
authorBen Soares <bsoares@dundee.ac.uk>
Mon, 27 May 2019 15:26:45 +0000 (16:26 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Mon, 27 May 2019 15:26:45 +0000 (16:26 +0100)
src/jalview/gui/Preferences.java
src/jalview/io/BackupFilesPresetEntry.java

index 25e22b5..9754e0d 100755 (executable)
@@ -401,7 +401,7 @@ public class Preferences extends GPreferences
     doReset.addActionListener(onReset);
 
     // filter to display only custom urls
-    final RowFilter<TableModel, Object> customUrlFilter = new RowFilter<>()
+    final RowFilter<TableModel, Object> customUrlFilter = new RowFilter<TableModel, Object>()
     {
       @Override
       public boolean include(
index 46fc5eb..4face29 100644 (file)
@@ -146,7 +146,7 @@ public class BackupFilesPresetEntry
       MessageManager.getString("label.rolled_backups_description"),
       MessageManager.getString("label.custom_description") };
 
-  public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<>()
+  public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<Integer, BackupFilesPresetEntry>()
   {
     /**
      *