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:
4741fc6
)
tIndex prevented deletion of last annotation
author
amwaterhouse
<Andrew Waterhouse>
Mon, 7 May 2007 13:57:40 +0000
(13:57 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 7 May 2007 13:57:40 +0000
(13:57 +0000)
src/jalview/datamodel/Alignment.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
cec2abc
..
9c7f2fb
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-482,7
+482,7
@@
public class Alignment
boolean swap=false;
int tIndex = 0;
- for (int i = 0; tIndex<temp.length && i < aSize; i++)
+ for (int i = 0; i < aSize; i++)
{
if (annotations[i] == aa)
{
@@
-490,8
+490,7
@@
public class Alignment
continue;
}
- temp[tIndex] = annotations[i];
- tIndex++;
+ temp[tIndex++] = annotations[i];
}
if (swap)