JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / analysis / AlignmentSorter.java
index 0022af6..b810050 100755 (executable)
@@ -551,8 +551,7 @@ public class AlignmentSorter
    * @return DOCUMENT ME!
    */
   private static List<SequenceI> _sortByTree(SequenceNode node,
-          List<SequenceI> tmp,
-          List<SequenceI> seqset)
+          List<SequenceI> tmp, List<SequenceI> seqset)
   {
     if (node == null)
     {
@@ -719,9 +718,9 @@ public class AlignmentSorter
   public static void sortByFeature(String featureLabel, String groupLabel,
           int start, int stop, AlignmentI alignment, String method)
   {
-    sortByFeature(featureLabel == null ? null : new String[]
-    { featureLabel }, groupLabel == null ? null : new String[]
-    { groupLabel }, start, stop, alignment, method);
+    sortByFeature(featureLabel == null ? null
+            : new String[] { featureLabel }, groupLabel == null ? null
+            : new String[] { groupLabel }, start, stop, alignment, method);
   }
 
   private static boolean containsIgnoreCase(final String lab,
@@ -752,7 +751,9 @@ public class AlignmentSorter
     if (method != FEATURE_SCORE && method != FEATURE_LABEL
             && method != FEATURE_DENSITY)
     {
-      throw new Error(MessageManager.getString("error.implementation_error_sortbyfeature"));
+      throw new Error(
+              MessageManager
+                      .getString("error.implementation_error_sortbyfeature"));
     }
     boolean ignoreScore = method != FEATURE_SCORE;
     StringBuffer scoreLabel = new StringBuffer();
@@ -928,7 +929,8 @@ public class AlignmentSorter
     {
       if (method == FEATURE_LABEL)
       {
-        throw new Error(MessageManager.getString("error.not_yet_implemented"));
+        throw new Error(
+                MessageManager.getString("error.not_yet_implemented"));
       }
     }
     if (lastSortByFeatureScore == null