Skip to content

Commit

Permalink
Fix indexOf
Browse files Browse the repository at this point in the history
  • Loading branch information
pcy190 committed Apr 16, 2021
1 parent 00955f7 commit 6ecff1c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -75,7 +75,7 @@ protected void extractStringTrim(int start, int stop) {
}

protected int indexOf(char c, int pos) {
for (int i = pos; pos < len; i++)
for (int i = pos; i < len; i++)
if (in[i] == (byte) c)
return i;
return -1;
Expand Down

0 comments on commit 6ecff1c

Please sign in to comment.