JAVA-9557 GitHub Issue: Bug in StringPerformance.java
This commit is contained in:
parent
49b6155952
commit
c89d0ef7b1
|
@ -125,6 +125,8 @@ public class StringPerformance {
|
||||||
stringSplit.add(longString.substring(pos, end));
|
stringSplit.add(longString.substring(pos, end));
|
||||||
pos = end + 1;
|
pos = end + 1;
|
||||||
}
|
}
|
||||||
|
//Add last token of string
|
||||||
|
stringSplit.add(longString.substring(pos));
|
||||||
return stringSplit;
|
return stringSplit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue