git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
908ebb4
)
pad should leave null annotations array null
author
jprocter
<Jim Procter>
Mon, 30 Apr 2007 13:48:36 +0000
(13:48 +0000)
committer
jprocter
<Jim Procter>
Mon, 30 Apr 2007 13:48:36 +0000
(13:48 +0000)
src/jalview/datamodel/AlignmentAnnotation.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentAnnotation.java
b/src/jalview/datamodel/AlignmentAnnotation.java
index
d3d36d2
..
ae81a90
100755
(executable)
--- 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<length)
{