-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove DefaultLocale in favor of StringCaseLocaleUsage #2589
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,9 +133,6 @@ private static void configureErrorProneOptions( | |
"CanIgnoreReturnValueSuggester", | ||
"InlineMeSuggester", | ||
"PreferImmutableStreamExCollections", | ||
// StringCaseLocaleUsage duplicates our existing DefaultLocale check which is already | ||
// enforced in some places. | ||
"StringCaseLocaleUsage", | ||
Comment on lines
-136
to
-138
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see 5 references to
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I believe compilation will fail because no check exists with name There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here are the PRs for 2 of those 3. I'll also put up a PR for the one internal repo:
|
||
"UnnecessaryTestMethodPrefix", | ||
"UnusedVariable", | ||
// See VarUsage: The var keyword results in illegible code in most cases and should not be used. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This effectively changes this check from
SUGGESTION
toWARNING
, but we've had an excavator for this for a while now, so this should be acceptable.