JAL-2748 formatting
authorJim Procter <jprocter@issues.jalview.org>
Fri, 29 Sep 2017 15:47:59 +0000 (16:47 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 29 Sep 2017 15:54:55 +0000 (16:54 +0100)
src/jalview/ws/dbsources/Uniprot.java

index 686cd83..6c26f45 100644 (file)
@@ -208,7 +208,7 @@ public class Uniprot extends DbSourceProxyImpl
     sequence.setDescription(getUniprotEntryDescription(entry));
 
     final String dbVersion = getDbVersion();
-    ArrayList<DBRefEntry> dbRefs = new ArrayList<DBRefEntry>();
+    ArrayList<DBRefEntry> dbRefs = new ArrayList<>();
     for (String accessionId : entry.getAccession())
     {
       DBRefEntry dbRef = new DBRefEntry(DBRefSource.UNIPROT, dbVersion,
@@ -218,7 +218,7 @@ public class Uniprot extends DbSourceProxyImpl
       dbRefs.add(dbRef);
     }
 
-    Vector<PDBEntry> onlyPdbEntries = new Vector<PDBEntry>();
+    Vector<PDBEntry> onlyPdbEntries = new Vector<>();
     for (PDBEntry pdb : entry.getDbReference())
     {
       DBRefEntry dbr = new DBRefEntry();