Suppress false positives by adding the suppression annotation @SuppressWarnings("StringCaseLocaleUsage") to the enclosing element.
@SuppressWarnings("StringCaseLocaleUsage")