JAVA-9557 GitHub Issue: Bug in StringPerformance.java

This commit is contained in:
anuragkumawat 2022-04-17 18:09:24 +05:30
parent 49b6155952
commit c89d0ef7b1
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ public class StringPerformance {
stringSplit.add(longString.substring(pos, end));
pos = end + 1;
}
//Add last token of string
stringSplit.add(longString.substring(pos));
return stringSplit;
}