File tree 1 file changed +1
-3
lines changed
core/src/main/java/com/google/errorprone/bugpatterns 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 17
17
package com .google .errorprone .bugpatterns ;
18
18
19
19
import static com .google .errorprone .BugPattern .SeverityLevel .WARNING ;
20
- import static com .google .errorprone .BugPattern .StandardTags .FRAGILE_CODE ;
21
20
import static com .google .errorprone .matchers .method .MethodMatchers .instanceMethod ;
22
21
import static com .google .errorprone .util .ASTHelpers .getReceiver ;
23
22
import static com .google .errorprone .util .ASTHelpers .getSymbol ;
46
45
"Specify a `Locale` when calling `String#to{Lower,Upper}Case`. (Note: there are multiple"
47
46
+ " suggested fixes; the third may be most appropriate if you're dealing with ASCII"
48
47
+ " Strings.)" ,
49
- severity = WARNING ,
50
- tags = FRAGILE_CODE )
48
+ severity = WARNING )
51
49
public final class StringCaseLocaleUsage extends BugChecker implements MethodInvocationTreeMatcher {
52
50
private static final Matcher <ExpressionTree > DEFAULT_LOCALE_CASE_CONVERSION =
53
51
instanceMethod ()
You can’t perform that action at this time.
0 commit comments