File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
core/src/main/java/com/google/errorprone/bugpatterns Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1717package com .google .errorprone .bugpatterns ;
1818
1919import static com .google .errorprone .BugPattern .SeverityLevel .WARNING ;
20- import static com .google .errorprone .BugPattern .StandardTags .FRAGILE_CODE ;
2120import static com .google .errorprone .matchers .method .MethodMatchers .instanceMethod ;
2221import static com .google .errorprone .util .ASTHelpers .getReceiver ;
2322import static com .google .errorprone .util .ASTHelpers .getSymbol ;
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 )
5149public final class StringCaseLocaleUsage extends BugChecker implements MethodInvocationTreeMatcher {
5250 private static final Matcher <ExpressionTree > DEFAULT_LOCALE_CASE_CONVERSION =
5351 instanceMethod ()
You can’t perform that action at this time.
0 commit comments