JAL-3362 keep Java 1.8 build happy by specifying generic type arguments
authorJim Procter <jprocter@issues.jalview.org>
Tue, 13 Aug 2019 15:50:58 +0000 (16:50 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 13 Aug 2019 15:50:58 +0000 (16:50 +0100)
src/jalview/io/SequenceAnnotationReport.java

index 61b7491..66db038 100644 (file)
@@ -65,7 +65,7 @@ public class SequenceAnnotationReport
    * Comparator to order DBRefEntry by Source + accession id (case-insensitive),
    * with 'Primary' sources placed before others, and 'chromosome' first of all
    */
-  private static Comparator<DBRefEntry> comparator = new Comparator<>()
+  private static Comparator<DBRefEntry> comparator = new Comparator<DBRefEntry>()
   {
 
     @Override