Skip to content

Commit

Permalink
Remove FRAGILE_CODE tag from StringCaseLocaleUsage
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 540885421
  • Loading branch information
cushon authored and Error Prone Team committed Jun 16, 2023
1 parent b42c84f commit 4148b44
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -17,7 +17,6 @@
package com.google.errorprone.bugpatterns;

import static com.google.errorprone.BugPattern.SeverityLevel.WARNING;
import static com.google.errorprone.BugPattern.StandardTags.FRAGILE_CODE;
import static com.google.errorprone.matchers.method.MethodMatchers.instanceMethod;
import static com.google.errorprone.util.ASTHelpers.getReceiver;
import static com.google.errorprone.util.ASTHelpers.getSymbol;
Expand Down Expand Up @@ -46,8 +45,7 @@
"Specify a `Locale` when calling `String#to{Lower,Upper}Case`. (Note: there are multiple"
+ " suggested fixes; the third may be most appropriate if you're dealing with ASCII"
+ " Strings.)",
severity = WARNING,
tags = FRAGILE_CODE)
severity = WARNING)
public final class StringCaseLocaleUsage extends BugChecker implements MethodInvocationTreeMatcher {
private static final Matcher<ExpressionTree> DEFAULT_LOCALE_CASE_CONVERSION =
instanceMethod()
Expand Down

0 comments on commit 4148b44

Please sign in to comment.