From e77d8114c931f8fae8aeff5c1961f6457e4b98be Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 1 Jun 2018 14:58:55 +0100 Subject: [PATCH] JAL-1551 formatting --- src/jalview/datamodel/AlignmentView.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jalview/datamodel/AlignmentView.java b/src/jalview/datamodel/AlignmentView.java index d3d1b2b..19ddff3 100644 --- a/src/jalview/datamodel/AlignmentView.java +++ b/src/jalview/datamodel/AlignmentView.java @@ -74,7 +74,7 @@ public class AlignmentView ScGroup() { - seqs = new ArrayList(); + seqs = new ArrayList<>(); } /** @@ -170,9 +170,9 @@ public class AlignmentView selseqs = alignment.getSequencesArray(); } - List> seqsets = new ArrayList>(); + List> seqsets = new ArrayList<>(); // get the alignment's group list and make a copy - List grps = new ArrayList(); + List grps = new ArrayList<>(); List gg = alignment.getGroups(); grps.addAll(gg); ScGroup[] sgrps = null; @@ -185,7 +185,7 @@ public class AlignmentView // strip out any groups that do not actually intersect with the // visible and selected region int ssel = selection.getStartRes(), esel = selection.getEndRes(); - List isg = new ArrayList(); + List isg = new ArrayList<>(); for (SequenceGroup sg : grps) { if (!(sg.getStartRes() > esel || sg.getEndRes() < ssel)) @@ -245,7 +245,7 @@ public class AlignmentView { if (scGroups == null) { - scGroups = new ArrayList(); + scGroups = new ArrayList<>(); } addedgps[sg] = true; scGroups.add(sgrps[sg]); -- 1.7.10.2