From: Jim Procter Date: Fri, 29 Sep 2017 15:47:59 +0000 (+0100) Subject: JAL-2748 formatting X-Git-Tag: Release_2_10_2b2^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fc9bb181d21ca0a347c7cd82aed0bff515dfe4e3;p=jalview.git JAL-2748 formatting --- diff --git a/src/jalview/ws/dbsources/Uniprot.java b/src/jalview/ws/dbsources/Uniprot.java index 686cd83..6c26f45 100644 --- a/src/jalview/ws/dbsources/Uniprot.java +++ b/src/jalview/ws/dbsources/Uniprot.java @@ -208,7 +208,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, @@ -218,7 +218,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();