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:
266c4e2
)
fixed array index out of bounds when not removing alignment annotation
author
jprocter
<Jim Procter>
Thu, 10 May 2007 08:39:40 +0000
(08:39 +0000)
committer
jprocter
<Jim Procter>
Thu, 10 May 2007 08:39:40 +0000
(08:39 +0000)
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
9c7f2fb
..
677f436
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-489,8
+489,8
@@
public class Alignment
swap=true;
continue;
}
-
- temp[tIndex++] = annotations[i];
+ if (tIndex<temp.length)
+ temp[tIndex++] = annotations[i];
}
if (swap)