remove should be removeElement
[jalview.git] / src / jalview / datamodel / Sequence.java
index 718d72b..81a0f40 100755 (executable)
@@ -766,7 +766,7 @@ public class Sequence
   {
     if(this.annotation!=null)
     {
-      this.annotation.remove(annotation);
+      this.annotation.removeElement(annotation);
       if(this.annotation.size()==0)
         this.annotation = null;
     }