JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / gui / AppVarna.java
index 3a64716..bb4528f 100644 (file)
@@ -80,11 +80,11 @@ public class AppVarna extends JInternalFrame
    * Lookup for sequence and annotation mapped to each RNA in the viewer. Using
    * a linked hashmap means that order is preserved when saved to the project.
    */
-  private Map<RNA, RnaModel> models = new LinkedHashMap<RNA, RnaModel>();
+  private Map<RNA, RnaModel> models = new LinkedHashMap<>();
 
-  private Map<RNA, ShiftList> offsets = new Hashtable<RNA, ShiftList>();
+  private Map<RNA, ShiftList> offsets = new Hashtable<>();
 
-  private Map<RNA, ShiftList> offsetsInv = new Hashtable<RNA, ShiftList>();
+  private Map<RNA, ShiftList> offsetsInv = new Hashtable<>();
 
   private JSplitPane split;