-
Notifications
You must be signed in to change notification settings - Fork 135
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
PreferJavaTimeOverload:OFF #1094
PreferJavaTimeOverload:OFF #1094
Conversation
Generate changelog in
|
@@ -50,7 +50,8 @@ | |||
// Built-in checks | |||
"ArrayEquals", | |||
"MissingOverride", | |||
"UnnecessaryParentheses"); | |||
"UnnecessaryParentheses", | |||
"PreferJavaTimeOverload"); |
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.
So I think the checkExplicitlyDisabled
function will actually prevent these auto-fixes being applied until we get rid of the explicit CheckSeverity.OFF
setting... I'm kinda OK with just leaving this here so that when we re-enable the check it will start patching.
👍 |
Released 2.40.1 |
Before this PR
A bunch of our repos internally use custom assertj libraries (e.g. the c-j-r-api test-utils, audit logging test utils, safe-logging test-utils), which triggers this wonky error-prone behaviour: google/error-prone#1435
I even saw this pretty non-sensical message internally in sls-logging:
After this PR
==COMMIT_MSG==
The
PreferJavaTimeOverload
error-prone check is turned off to avoid false positives==COMMIT_MSG==
Possible downsides?