JAL-2480 redundant code removed
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 15 May 2017 07:45:17 +0000 (08:45 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 15 May 2017 07:45:17 +0000 (08:45 +0100)
src/jalview/analysis/AlignmentUtils.java

index 7b867ac..66be623 100644 (file)
@@ -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<SequenceFeature>()
-    // {
-    // @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;
   }