From: Jim Procter Date: Thu, 26 Sep 2019 12:28:07 +0000 (+0100) Subject: JAL-3070 JAL-3066 formatting X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7329a93cf3e09de3160d502197464ad5f724c40b;p=jalview.git JAL-3070 JAL-3066 formatting --- diff --git a/src/jalview/analysis/AlignmentAnnotationUtils.java b/src/jalview/analysis/AlignmentAnnotationUtils.java index 194ef80..dd5e080 100644 --- a/src/jalview/analysis/AlignmentAnnotationUtils.java +++ b/src/jalview/analysis/AlignmentAnnotationUtils.java @@ -75,11 +75,11 @@ public class AlignmentAnnotationUtils * Build a lookup, by calcId (annotation source), of all annotation types in * each graph group. */ - Map>> groupLabels = new HashMap>>(); + Map>> groupLabels = new HashMap<>(); // trackers for which calcId!label combinations we have dealt with - List addedToShown = new ArrayList(); - List addedToHidden = new ArrayList(); + List addedToShown = new ArrayList<>(); + List addedToHidden = new ArrayList<>(); for (AlignmentAnnotation aa : annotations) { @@ -99,7 +99,7 @@ public class AlignmentAnnotationUtils /* * Build a 'composite label' for types in line graph groups. */ - final List labelAsList = new ArrayList(); + final List labelAsList = new ArrayList<>(); final String displayLabel = aa.label; labelAsList.add(displayLabel); if (aa.graph == AlignmentAnnotation.LINE_GRAPH