Code review

This commit is contained in:
Nick Goupinets 2021-02-17 10:20:33 -05:00
parent 2ec906afb2
commit ca3811412b
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ public class StringUtil {
return ""; return "";
} }
// char count can only be bigger than the code point count
if (theString.length() <= theCodePointCount) { if (theString.length() <= theCodePointCount) {
return theString; return theString;
} }