pad should leave null annotations array null
authorjprocter <Jim Procter>
Mon, 30 Apr 2007 13:48:36 +0000 (13:48 +0000)
committerjprocter <Jim Procter>
Mon, 30 Apr 2007 13:48:36 +0000 (13:48 +0000)
src/jalview/datamodel/AlignmentAnnotation.java

index d3d36d2..ae81a90 100755 (executable)
@@ -398,8 +398,7 @@ Loading...
   public boolean padAnnotation(int length) {
     if (annotations==null)
     {
-      annotations = new Annotation[length];
-      return true;
+      return true; // annotation row is correct - null == not visible and undefined length 
     }
     if (annotations.length<length)
     {