StringCaseLocaleUsage
WARNING
FragileCode
Summary
Specify a
Locale
when callingString#to{Lower,Upper}Case
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StringCaseLocaleUsage")
to the enclosing element.Disable this pattern completely by adding
-Xep:StringCaseLocaleUsage:OFF
as compiler argument. Learn more.