-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrade Error Prone 2.21.1 -> 2.22.0 #800
Conversation
Suggested commit message:
|
Looks good. No mutations were possible for these changes. |
Looks good. All 5 mutations in this change were killed.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
1 similar comment
Looks good. All 5 mutations in this change were killed.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
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.
Added some commits.
flags.getList(INCLUDED_ANNOTATIONS_FLAG), excludedAnnotations(flags)); | ||
flags.get(INCLUDED_ANNOTATIONS_FLAG).isPresent() | ||
? Optional.of(flags.getListOrEmpty(INCLUDED_ANNOTATIONS_FLAG)) | ||
: Optional.empty(), | ||
excludedAnnotations(flags)); |
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 is not great, but alas.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
463fc28
to
e1399c6
Compare
Looks good. All 5 mutations in this change were killed.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
e1399c6
to
ac6cbbc
Compare
Kudos, SonarCloud Quality Gate passed! |
Looks good. All 5 mutations in this change were killed.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
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.
Tweaked suggested commit message to be similar to previous commits.
This PR contains the following updates:
2.21.1
->2.22.0
2.21.1
->2.22.0
2.21.1
->2.22.0
2.21.1
->2.22.0
2.21.1
->2.22.0
2.21.1
->2.22.0
Release Notes
google/error-prone (com.google.errorprone:error_prone_annotations)
v2.22.0
: Error Prone 2.22.0Compare Source
We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see #3803. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass
--release 11
to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on #3803.New checks:
ClosingStandardOutputStreams
: Prevents accidentally closingSystem.{out,err}
with try-with-resourcesTruthContainsExactlyElementsInUsage
:containsExactly
is preferred overcontainsExactlyElementsIn
when creating new iterablesUnnecessaryAsync
: detects unnecessary use of async primitives in local (and hence single-threaded) scopesReturnAtTheEndOfVoidFunction
: detects unnecessaryreturn
statements at the end ofvoid
functionsMultimapKeys
: Suggests usingkeySet()
instead of iterating overMultimap.keys()
, which does not collapse duplicatesBug fixes and improvements:
AddressSelection
(google/error-prone@44b6552)Map.get
, etc. returnnull
(#2910)@RegisterExtension
(#3892)@SuppressWarnings("all")
(#4065)UMemberSelect
from matching method parameters (#2456)// fall out
comments on expression switches (#2709)exemptPrefixes
/exemptNames
for UnusedVariable via flags (#2753)Full Changelog: google/error-prone@v2.21.1...v2.22.0