JAL-1912 javadoc for adjustForAlignment stating current behaviour
authorJim Procter <jprocter@issues.jalview.org>
Wed, 7 Oct 2015 11:51:59 +0000 (12:51 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 7 Oct 2015 11:51:59 +0000 (12:51 +0100)
src/jalview/datamodel/AlignmentAnnotation.java

index b00f27d..830dbc7 100755 (executable)
@@ -957,6 +957,12 @@ public class AlignmentAnnotation
 
   }
 
+  /**
+   * When positional annotation and a sequence reference is present, clears and
+   * resizes the annotations array to the current alignment width, and adds
+   * annotation according to aligned positions of the sequenceRef given by
+   * sequenceMapping.
+   */
   public void adjustForAlignment()
   {
     if (sequenceRef == null)