Repository navigation
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.53.0 - #2731
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
dhoard,
fstab,
jaydeluca and
zeitlinger
as code owners
November 26, 2026 17:49
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.51.0→2.53.0Release Notes
google/error-prone (com.google.errorprone:error_prone_core)
v2.53.0: Error Prone 2.53.0New checks:
BootclasspathShadowing: Flag top-level class declarations whose binary name shadows a platform or bootclasspath type (disabled by default).DiscouragedHashKey: Configurable check for hash-based containers keyed on types (or their subtypes) specified via-XepOpt:DiscouragedHashKey:Types(no-op unless configured).Other changes:
EqualsHashCode: Flag classes that overridehashCodewithout overridingequals, gated by-XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals(enabled by default) (#129).MustBeClosedChecker: Enforce@MustBeClosedon method and constructor references.URLEqualsHashCode: Rebuild on the shared equality and hash-key analysis engine to also checkMultimap,Multiset,Stream.collect, direct equality, assertions, and containment, while ignoring identity and sorted containers.ImpossibleNullComparison: Flag impossible null comparisons viaObjects.equals,Objects.isNull, andObjects.nonNull.TruthIncompatibleType: Check GuavaTableassertions.PatternMatchingInstanceof: Suggestinstanceof Foo<?> foofor rawinstanceof Foochecks.CompileTimeConstant: Recognize GuavaImmutableMap.of,ImmutableMultiset.of,ImmutableSortedSet.of, andImmutableSortedMap.of, as well as JDKList.of,Set.of, andMap.of.Immutable: Add Gson and GuavaTypeTokentoWellKnownMutability, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.PreconditionsCheckNotNullRepeated: Also check Guava'sVerify.verifyNotNull.LambdaFunctionalInterface: Only matchInteger,Long, andDoubletype arguments instead of allNumbersubtypes.EqualsIncompatibleType/TypeCompatibility: Avoid false positives with incomplete classpaths.LoopConditionChecker/TimeUnitConversionChecker/InlineTrivialConstant/NonAtomicVolatileUpdate: Recognize compile-time constants in loop conditions (#5826) andTimeUnitconversions (#6279), and unwrap parenthesized expressions inInlineTrivialConstant(#6217) andNonAtomicVolatileUpdate(#6214).StatementSwitchToExpressionSwitch/IfChainToSwitch: Fix dead-code deletion afterreturn switchand consolidate reachability handling.MethodMatchersconstraints in selectivity order, optimizeSuppressionInfo, and reduce per-call overhead acrossCheckReturnValue,DoNotCall,ParameterName,UnusedMethod,AlmostJavadoc, and several other checks.SourceVersion.isNameinMatchers.packageStartsWith, and document thatASTHelpers.getSymbol(Tree)returnsnullfor parenthesized expressions (#6223).Closed issues: #5826, #6214, #6217, #6223, #6279
Full changelog: google/error-prone@v2.52.0...v2.53.0
v2.52.0: Error Prone 2.52.0New checks:
AlmostExhaustiveTestParameter: Prefer an exhaustive@TestParameterwith an assumption to filter out specific enum values, so newly added enum values are automatically tested (disabled by default).SingleTestParameter: Suggest@TestParameteron the parameter instead of@TestParameterswhen there is only one test parameter, replacingPreferTestParameter(disabled by default).SingleValueTestParameter: Suggest replacing a@TestParameterthat has only a single value with a local variable in the test method (disabled by default).ValueClassEquals: Require non-record concretevalueclasses to explicitly overrideequalsandhashCode.Other changes:
LoopToTestParameter: Changed severity toSUGGESTION(disabled by default).DistinctVarargsChecker: Allow duplicate arguments toIterables.concat(#6239) and Mockito argument matchers such asany()(#6240).UnusedVariable: Treat fields accessed viaMethodHandles.Lookup(VarHandle/getter/setter lookups) orAtomic*FieldUpdater.newUpdateras used.StringBuilderInitWithChar/StringBufferrefactoring: RefactorStringBuffertoStringBuildereven when used withMatcher.appendReplacementandappendTail(when supported by the target JDK or AndroidminSdkVersion).CompileTimeConstant: Treatrecordandinterfacefields and field accesses on compile-time constants (compileTimeConstant.compileTimeConstantField) as compile-time constants.ValueClassIdentity/ReferenceEquality: Handle JEP 401valueclasses.FieldCanBeFinal/ThreadSafety: Improve compile-time performance on large classes and deep type hierarchies, and update SafeRE to 1.1.0 (#6230).ClassNamefor caching resolvedClassSymbol,Type, and binaryNamelookups across a compilation.Closed issues: #5964, #6165, #6230, #6239, #6240, #6275
Full changelog: google/error-prone@v2.51.0...v2.52.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.