fix(deps): update dependency com.google.errorprone:error_prone_annotations to v2.28.0 #248
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.24.1
->2.28.0
Release Notes
google/error-prone (com.google.errorprone:error_prone_annotations)
v2.28.0
: Error Prone 2.28.0Compare Source
Error Prone nows supports the latest JDK 23 EA builds (#4412, #4415).
Closed issues:
instanceof
patterns (#4349).equal
with==
for floating-point values (#4392).New checks:
DeeplyNested
discourages very deeply nested code that can cause StackOverflowErrors during compilation.GuiceNestedCombine
discourages nesting ofModules.combine()
, which is unnecessary.PatternMatchingInstanceof
migrates code to use pattern matching forinstanceof
SunApi
discourages use of internal proprietary JDK APIs which may be removed from future releases.Full Changelog: google/error-prone@v2.27.1...v2.28.0
v2.27.1
: Error Prone 2.27.1Compare Source
This release contains all of the changes in 2.27.0, plus a bug fix to
ClassInitializationDeadlock
(https://github.com/google/error-prone/issues/4378)Full Changelog: google/error-prone@v2.27.0...v2.27.1
v2.27.0
: Error Prone 2.27.0Compare Source
New checks:
ClassInitializationDeadlock
detects class initializers that reference subtypes of the current class, which can result in deadlocks.MockitoDoSetup
suggests usingwhen
/thenReturn
overdoReturn
/when
for additional type safety.VoidUsed
suggests using a literalnull
instead of referring to aVoid
-typed variable.Modified checks:
TruthSelfEquals
has been renamed and generalized asSelfAssertion
RedundantSetterCall
has been improved, and enabled as an error oby defaultClosed issues: #4291. #4308, #4343, #4320
Full Changelog: google/error-prone@v2.26.1...v2.27.0
v2.26.1
: Error Prone 2.26.1Compare Source
Changes:
com.google.errorprone.annotations
(google/error-prone@9d99ee7)Full Changelog: google/error-prone@v2.26.0...v2.26.1
v2.26.0
: Error Prone 2.26.0Compare Source
Changes:
module-info.java
for Java Platform Module System support, thanks to @sgammon in #4311.-XepPatchChecks
are now ignored, instead of causing a crash. Thanks to @oxkitsune in #4028.New checks:
SystemConsoleNull
: Null-checkingSystem.console()
is not a reliable way to detect if the console is connected to a terminal.EnumOrdinal
: Discourage uses ofEnum.ordinal()
Closed issues: #2649, #3908, #4028, #4311, #4314
Full Changelog: google/error-prone@v2.25.0...v2.26.0
v2.25.0
: Error Prone 2.25.0Compare Source
New checks:
JUnitIncompatibleType
: Detects incompatible types passed to an assertion, similar toTruthIncompatibleType
RedundantSetterCall
: Detects fields set twice in the same chained expression. Generalization of previousProtoRedundantSet
check to also handle AutoValue.Closed issues: #4195, #4224, #4228, #4248, #4249, #4251
Full Changelog: google/error-prone@v2.24.1...v2.25.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.