From: Jim Procter Date: Fri, 29 Sep 2017 15:47:59 +0000 (+0100) Subject: JAL-2748 formatting X-Git-Tag: Release_2_10_3b1~121^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d914a47dd53f43cdfd27152e6b19415a937e9a3d;p=jalview.git JAL-2748 formatting --- diff --git a/src/jalview/ws/dbsources/Uniprot.java b/src/jalview/ws/dbsources/Uniprot.java index fd68c12..c9beb8e 100644 --- a/src/jalview/ws/dbsources/Uniprot.java +++ b/src/jalview/ws/dbsources/Uniprot.java @@ -209,7 +209,7 @@ public class Uniprot extends DbSourceProxyImpl sequence.setDescription(getUniprotEntryDescription(entry)); final String dbVersion = getDbVersion(); - ArrayList dbRefs = new ArrayList(); + ArrayList 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 onlyPdbEntries = new Vector(); + Vector onlyPdbEntries = new Vector<>(); for (PDBEntry pdb : entry.getDbReference()) { DBRefEntry dbr = new DBRefEntry();