Skip to main content Link Search Menu Expand Document (external link)

StringCaseLocaleUsage

WARNING

FragileCode

View source code on GitHub

Summary

Specify a Locale when calling String#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.


Copyright © 2017-2023 Picnic Technologies BV