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:
7379fb4
)
Don't initialise a char in findIndex
author
amwaterhouse
<Andrew Waterhouse>
Wed, 16 Nov 2005 16:42:45 +0000
(16:42 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 16 Nov 2005 16:42:45 +0000
(16:42 +0000)
src/jalview/datamodel/Sequence.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
a7fcb33
..
6988615
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-422,9
+422,7
@@
public class Sequence implements SequenceI
\r
while ((i < sequence.length()) && (j <= end) && (j <= pos))
\r
{
\r
- char c = sequence.charAt(i);
\r
-
\r
- if (!jalview.util.Comparison.isGap((c)))
\r
+ if (!jalview.util.Comparison.isGap(sequence.charAt(i)))
\r
{
\r
j++;
\r
}
\r