From b7620d52027f3bb6f8bc7673563ea30a6adacf22 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 30 Apr 2007 13:48:36 +0000 Subject: [PATCH] pad should leave null annotations array null --- src/jalview/datamodel/AlignmentAnnotation.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index d3d36d2..ae81a90 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -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