From d914a47dd53f43cdfd27152e6b19415a937e9a3d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 29 Sep 2017 16:47:59 +0100 Subject: [PATCH] JAL-2748 formatting --- src/jalview/ws/dbsources/Uniprot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 1.7.10.2