X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FAlignmentSorter.java;h=b8100506a6f64a5fc8127b986a63c271c356c14f;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=0022af643dc36455ad4e05a901ce7023c65d66f4;hpb=619cc880371f3228e6a1fb33c6bfb6e7a7e2622c;p=jalview.git diff --git a/src/jalview/analysis/AlignmentSorter.java b/src/jalview/analysis/AlignmentSorter.java index 0022af6..b810050 100755 --- a/src/jalview/analysis/AlignmentSorter.java +++ b/src/jalview/analysis/AlignmentSorter.java @@ -551,8 +551,7 @@ public class AlignmentSorter * @return DOCUMENT ME! */ private static List _sortByTree(SequenceNode node, - List tmp, - List seqset) + List tmp, List 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