JAL-3081 autocalculated annotation first/last leaves others unchanged
[jalview.git] / src / jalview / appletgui / AlignmentPanel.java
index 25974d4..0eb5c88 100644 (file)
@@ -20,7 +20,6 @@
  */
 package jalview.appletgui;
 
-import jalview.analysis.AnnotationSorter;
 import jalview.api.AlignViewportI;
 import jalview.api.AlignmentViewPanel;
 import jalview.bin.JalviewLite;
@@ -911,10 +910,6 @@ public class AlignmentPanel extends Panel
   public void paintAlignment(boolean updateOverview,
           boolean updateStructures)
   {
-    final AnnotationSorter sorter = new AnnotationSorter(getAlignment(),
-            av.isShowAutocalculatedAbove());
-    sorter.sort(getAlignment().getAlignmentAnnotation(),
-            av.getSortAnnotationsBy());
     repaint();
 
     if (updateStructures)
@@ -1158,7 +1153,7 @@ public class AlignmentPanel extends Panel
   }
 
   @Override
-  public void sortAnnotations()
+  public void sortAnnotations(boolean autocalcOnly)
   {
   }