diff --git a/lib/Platform/Intl/java/com/facebook/hermes/intl/LocaleIdentifier.java b/lib/Platform/Intl/java/com/facebook/hermes/intl/LocaleIdentifier.java index 3d23a0fcb4b..cc57d20422a 100644 --- a/lib/Platform/Intl/java/com/facebook/hermes/intl/LocaleIdentifier.java +++ b/lib/Platform/Intl/java/com/facebook/hermes/intl/LocaleIdentifier.java @@ -457,7 +457,8 @@ public LocaleIdSubtag nextSubtag() throws LocaleIdSubtagIterationFailed { for (mCurrentSubtagEnd = mCurrentSubtagStart; mCurrentSubtagEnd < mLocaleIdBuffer.length() && !isSubtagSeparator(mLocaleIdBuffer.charAt(mCurrentSubtagEnd)); - mCurrentSubtagEnd++) ; + mCurrentSubtagEnd++) + ; if (mCurrentSubtagEnd > mCurrentSubtagStart) { mCurrentSubtagEnd--;