From: gmungoc Date: Mon, 15 May 2017 07:45:17 +0000 (+0100) Subject: JAL-2480 redundant code removed X-Git-Tag: Release_2_10_3b1~281 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5166594fc092fe3128ca31567ef104d80581c729;p=jalview.git JAL-2480 redundant code removed --- diff --git a/src/jalview/analysis/AlignmentUtils.java b/src/jalview/analysis/AlignmentUtils.java index 7b867ac..66be623 100644 --- a/src/jalview/analysis/AlignmentUtils.java +++ b/src/jalview/analysis/AlignmentUtils.java @@ -2312,24 +2312,6 @@ public class AlignmentUtils count += computePeptideVariants(peptide, peptidePos, codonVariants); } - /* - * sort to get sequence features in start position order - * - would be better to store in Sequence as a TreeSet or NCList? - */ - // if (peptide.getSequenceFeatures() != null) - // { - // Arrays.sort(peptide.getSequenceFeatures(), - // new Comparator() - // { - // @Override - // public int compare(SequenceFeature o1, SequenceFeature o2) - // { - // int c = Integer.compare(o1.getBegin(), o2.getBegin()); - // return c == 0 ? Integer.compare(o1.getEnd(), o2.getEnd()) - // : c; - // } - // }); - // } return count; }