JAL-2893 include ENSEMBLGENOMES as a 'roundtrip db source'
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 14 Mar 2018 16:36:29 +0000 (16:36 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 14 Mar 2018 16:36:29 +0000 (16:36 +0000)
src/jalview/datamodel/DBRefSource.java

index 0ac14e5..7a30141 100755 (executable)
@@ -96,7 +96,7 @@ public class DBRefSource
    * List of databases whose sequences might have coding regions annotated
    */
   public static final String[] DNACODINGDBS = { EMBL, EMBLCDS, GENEDB,
-      ENSEMBL };
+      ENSEMBL, ENSEMBLGENOMES };
 
   public static final String[] CODINGDBS = { EMBLCDS, GENEDB, ENSEMBL };
 
@@ -105,7 +105,7 @@ public class DBRefSource
 
   public static String[] allSources()
   {
-    List<String> src = new ArrayList<String>();
+    List<String> src = new ArrayList<>();
     for (Field f : DBRefSource.class.getFields())
     {
       if (String.class.equals(f.getType()))