Skip to content

Commit 4148b44

Browse files
cushonError Prone Team
authored and
Error Prone Team
committed
Remove FRAGILE_CODE tag from StringCaseLocaleUsage
PiperOrigin-RevId: 540885421
1 parent b42c84f commit 4148b44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/main/java/com/google/errorprone/bugpatterns/StringCaseLocaleUsage.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package com.google.errorprone.bugpatterns;
1818

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

0 commit comments

Comments
 (0)