From 5166594fc092fe3128ca31567ef104d80581c729 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 15 May 2017 08:45:17 +0100 Subject: [PATCH] JAL-2480 redundant code removed --- src/jalview/analysis/AlignmentUtils.java | 18 ------------------ 1 file changed, 18 deletions(-) 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; } -- 1.7.10.2