JAL-3690 Introduce AlignCalcManager2 tests.
[jalview.git] / src / jalview / api / AlignCalcManagerI2.java
index 22b4832..0bd6c3c 100644 (file)
@@ -45,6 +45,13 @@ public interface AlignCalcManagerI2
   void removeWorkerForAnnotation(AlignmentAnnotation annot);
   
   /**
+   * Alias of removeWorkerForAnnotation
+   */
+  default void removeWorkersForAnnotation(AlignmentAnnotation annot) {
+    removeWorkerForAnnotation(annot);
+  }
+  
+  /**
    * Removes all workers of a given class. The classes are compared using
    * {@link Class#equals(Object)}. 
    */