JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / analysis / AnnotationSorter.java
index 0873f89..b0cfe20 100644 (file)
@@ -46,7 +46,8 @@ public class AnnotationSorter
       return description;
     }
 
-    public static SequenceAnnotationOrder forDescription(String d) {
+    public static SequenceAnnotationOrder forDescription(String d)
+    {
       for (SequenceAnnotationOrder order : values())
       {
         if (order.toString().equals(d))
@@ -279,9 +280,11 @@ public class AnnotationSorter
           AlignmentAnnotation[] alignmentAnnotations)
   {
     sequenceIndices.clear();
-    for (AlignmentAnnotation ann : alignmentAnnotations) {
+    for (AlignmentAnnotation ann : alignmentAnnotations)
+    {
       SequenceI seq = ann.sequenceRef;
-      if (seq != null) {
+      if (seq != null)
+      {
         int index = AlignmentUtils.getSequenceIndex(alignment, seq);
         sequenceIndices.put(seq, index);
       }