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:47:59 +0000 (16:47 +0100)
src/jalview/ws/dbsources/Uniprot.java

index fd68c12..c9beb8e 100644 (file)
@@ -209,7 +209,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,
@@ -219,7 +219,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();