[bug-66532] more performant way to iterate over codepoints.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-03-17 23:40:03 +00:00
parent 0275daa5de
commit a129086c84

View File

@ -26,7 +26,7 @@ public class CodepointsUtil {
/**
* @param text to iterate over
* @return iterator with Strings representing the codepoints
* @see #primitiveIterator(String) a more performnt iterator
* @see #primitiveIterator(String) a more performant iterator
*/
public static Iterator<String> iteratorFor(String text) {
return text.codePoints()