Merge pull request #12093 from anuragkumawat/JAVA-9557
JAVA-9557 GitHub Issue: Bug in StringPerformance.java
This commit is contained in:
commit
609f43167e
|
@ -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