Skip to content

Commit

Permalink
fixed files form Lang #61
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent b7e3070 commit 68c1312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ public int indexOf(String str, int startIndex) {
return -1;
}
char[] thisBuf = buffer;
int len = thisBuf.length - strLen;
int len = size - strLen + 1;
outer:
for (int i = startIndex; i < len; i++) {
for (int j = 0; j < strLen; j++) {
Expand Down

0 comments on commit 68c1312

Please sign in to comment.