Skip to content

Bump com.google.errorprone:error_prone_annotations from 2.52.0 to 2.53.0 in /value in the dependencies group - #2211

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1036249639
Dec 4, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1036249639

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Bump com.google.errorprone:error_prone_annotations from 2.52.0 to 2.53.0 in /value in the dependencies group

Bumps the dependencies group in /value with 1 update: com.google.errorprone:error_prone_annotations.

Updates com.google.errorprone:error_prone_annotations from 2.52.0 to 2.53.0

Release notes

Sourced from com.google.errorprone:error_prone_annotations's releases.

Error Prone 2.53.0

New 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 override hashCode without overriding equals, gated by -XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals (enabled by default) (#129).
  • MustBeClosedChecker: Enforce @MustBeClosed on method and constructor references.
  • URLEqualsHashCode: Rebuild on the shared equality and hash-key analysis engine to also check Multimap, Multiset, Stream.collect, direct equality, assertions, and containment, while ignoring identity and sorted containers.
  • ImpossibleNullComparison: Flag impossible null comparisons via Objects.equals, Objects.isNull, and Objects.nonNull.
  • TruthIncompatibleType: Check Guava Table assertions.
  • PatternMatchingInstanceof: Suggest instanceof Foo<?> foo for raw instanceof Foo checks.
  • CompileTimeConstant: Recognize Guava ImmutableMap.of, ImmutableMultiset.of, ImmutableSortedSet.of, and ImmutableSortedMap.of, as well as JDK List.of, Set.of, and Map.of.
  • Immutable: Add Gson and Guava TypeToken to WellKnownMutability, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.
  • PreconditionsCheckNotNullRepeated: Also check Guava's Verify.verifyNotNull.
  • LambdaFunctionalInterface: Only match Integer, Long, and Double type arguments instead of all Number subtypes.
  • EqualsIncompatibleType / TypeCompatibility: Avoid false positives with incomplete classpaths.
  • LoopConditionChecker / TimeUnitConversionChecker / InlineTrivialConstant / NonAtomicVolatileUpdate: Recognize compile-time constants in loop conditions (#5826) and TimeUnit conversions (#6279), and unwrap parenthesized expressions in InlineTrivialConstant (#6217) and NonAtomicVolatileUpdate (#6214).
  • StatementSwitchToExpressionSwitch / IfChainToSwitch: Fix dead-code deletion after return switch and consolidate reachability handling.
  • Performance: Evaluate MethodMatchers constraints in selectivity order, optimize SuppressionInfo, and reduce per-call overhead across CheckReturnValue, DoNotCall, ParameterName, UnusedMethod, AlmostJavadoc, and several other checks.
  • Check API: Validate package names with SourceVersion.isName in Matchers.packageStartsWith, and document that ASTHelpers.getSymbol(Tree) returns null for parenthesized expressions (#6223).

Closed issues: #5826, #6214, #6217, #6223, #6279

Full changelog: google/error-prone@v2.52.0...v2.53.0

Commits
  • 5c3574f Release Error Prone 2.53.0
  • 8138d15 Fix NPE in PatternMatchingInstanceof on type variables and raw arrays
  • 496e723 Avoid TypeCompatibility false positives with incomplete classpaths.
  • b8bf6ba Ignore explicit constructor invocations in `UnusedReturnValueMatcher.isReturn...
  • c9bbbdb Reject invalid package names in Matchers.packageStartsWith
  • e14c5e6 Make TruthIncompatibleType check Table assertions.
  • beb8f89 Bump org.checkerframework:checker-qual from 4.3.1 to 4.4.0 in the dependencie...
  • f72c29d Flag impossible null comparisons via Objects.equals, isNull, and nonNull.
  • d96ec28 Fix some bugs in isLikelyToBePublicApi.
  • fb56246 Only match Integer, Long, and Double in LambdaFunctionalInterface.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Fixes #2210

FUTURE_COPYBARA_INTEGRATE_REVIEW=#2210 from google:dependabot/maven/value/dependencies-cbee739f67 fe9e581

…3.0 in /value in the dependencies group

Bumps the dependencies group in /value with 1 update: [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone).

Updates `com.google.errorprone:error_prone_annotations` from 2.52.0 to 2.53.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.53.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/BootclasspathShadowing"><code>BootclasspathShadowing</code></a>: Flag top-level class declarations whose binary name shadows a platform or bootclasspath type (disabled by default).</li>
<li><a href="https://errorprone.info/bugpattern/DiscouragedHashKey"><code>DiscouragedHashKey</code></a>: Configurable check for hash-based containers keyed on types (or their subtypes) specified via <code>-XepOpt:DiscouragedHashKey:Types</code> (no-op unless configured).</li>
</ul>
<p>Other changes:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/EqualsHashCode"><code>EqualsHashCode</code></a>: Flag classes that override <code>hashCode</code> without overriding <code>equals</code>, gated by <code>-XepOpt:EqualsHashCode:CheckHashCodeWithoutEquals</code> (enabled by default) (<a href="https://redirect.github.com/google/error-prone/issues/129">#129</a>).</li>
<li><a href="https://errorprone.info/bugpattern/MustBeClosedChecker"><code>MustBeClosedChecker</code></a>: Enforce <code>@MustBeClosed</code> on method and constructor references.</li>
<li><a href="https://errorprone.info/bugpattern/URLEqualsHashCode"><code>URLEqualsHashCode</code></a>: Rebuild on the shared equality and hash-key analysis engine to also check <code>Multimap</code>, <code>Multiset</code>, <code>Stream.collect</code>, direct equality, assertions, and containment, while ignoring identity and sorted containers.</li>
<li><a href="https://errorprone.info/bugpattern/ImpossibleNullComparison"><code>ImpossibleNullComparison</code></a>: Flag impossible null comparisons via <code>Objects.equals</code>, <code>Objects.isNull</code>, and <code>Objects.nonNull</code>.</li>
<li><a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType</code></a>: Check Guava <code>Table</code> assertions.</li>
<li><a href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a>: Suggest <code>instanceof Foo&lt;?&gt; foo</code> for raw <code>instanceof Foo</code> checks.</li>
<li><a href="https://errorprone.info/bugpattern/CompileTimeConstant"><code>CompileTimeConstant</code></a>: Recognize Guava <code>ImmutableMap.of</code>, <code>ImmutableMultiset.of</code>, <code>ImmutableSortedSet.of</code>, and <code>ImmutableSortedMap.of</code>, as well as JDK <code>List.of</code>, <code>Set.of</code>, and <code>Map.of</code>.</li>
<li><a href="https://errorprone.info/bugpattern/Immutable"><code>Immutable</code></a>: Add Gson and Guava <code>TypeToken</code> to <code>WellKnownMutability</code>, and stop caching negative symbol and type lookups across a compilation unit so lazily completed supertypes are resolved reliably.</li>
<li><a href="https://errorprone.info/bugpattern/PreconditionsCheckNotNullRepeated"><code>PreconditionsCheckNotNullRepeated</code></a>: Also check Guava's <code>Verify.verifyNotNull</code>.</li>
<li><a href="https://errorprone.info/bugpattern/LambdaFunctionalInterface"><code>LambdaFunctionalInterface</code></a>: Only match <code>Integer</code>, <code>Long</code>, and <code>Double</code> type arguments instead of all <code>Number</code> subtypes.</li>
<li><a href="https://errorprone.info/bugpattern/EqualsIncompatibleType"><code>EqualsIncompatibleType</code></a> / <code>TypeCompatibility</code>: Avoid false positives with incomplete classpaths.</li>
<li><a href="https://errorprone.info/bugpattern/LoopConditionChecker"><code>LoopConditionChecker</code></a> / <a href="https://errorprone.info/bugpattern/TimeUnitConversionChecker"><code>TimeUnitConversionChecker</code></a> / <a href="https://errorprone.info/bugpattern/InlineTrivialConstant"><code>InlineTrivialConstant</code></a> / <a href="https://errorprone.info/bugpattern/NonAtomicVolatileUpdate"><code>NonAtomicVolatileUpdate</code></a>: Recognize compile-time constants in loop conditions (<a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>) and <code>TimeUnit</code> conversions (<a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a>), and unwrap parenthesized expressions in <code>InlineTrivialConstant</code> (<a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>) and <code>NonAtomicVolatileUpdate</code> (<a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>).</li>
<li><a href="https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch"><code>StatementSwitchToExpressionSwitch</code></a> / <a href="https://errorprone.info/bugpattern/IfChainToSwitch"><code>IfChainToSwitch</code></a>: Fix dead-code deletion after <code>return switch</code> and consolidate reachability handling.</li>
<li>Performance: Evaluate <code>MethodMatchers</code> constraints in selectivity order, optimize <code>SuppressionInfo</code>, and reduce per-call overhead across <code>CheckReturnValue</code>, <code>DoNotCall</code>, <code>ParameterName</code>, <code>UnusedMethod</code>, <code>AlmostJavadoc</code>, and several other checks.</li>
<li>Check API: Validate package names with <code>SourceVersion.isName</code> in <code>Matchers.packageStartsWith</code>, and document that <code>ASTHelpers.getSymbol(Tree)</code> returns <code>null</code> for parenthesized expressions (<a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>).</li>
</ul>
<p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/5826">#5826</a>, <a href="https://redirect.github.com/google/error-prone/issues/6214">#6214</a>, <a href="https://redirect.github.com/google/error-prone/issues/6217">#6217</a>, <a href="https://redirect.github.com/google/error-prone/issues/6223">#6223</a>, <a href="https://redirect.github.com/google/error-prone/issues/6279">#6279</a></p>
<p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">https://github.com/google/error-prone/compare/v2.52.0...v2.53.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/error-prone/commit/5c3574f9d796d44b95154b865d268f102104a015"><code>5c3574f</code></a> Release Error Prone 2.53.0</li>
<li><a href="https://github.com/google/error-prone/commit/8138d15d8204c1b9f04caa888f706e7b0bd25635"><code>8138d15</code></a> Fix NPE in PatternMatchingInstanceof on type variables and raw arrays</li>
<li><a href="https://github.com/google/error-prone/commit/496e723f03f60e56fefe9860849ef54a1799214b"><code>496e723</code></a> Avoid <code>TypeCompatibility</code> false positives with incomplete classpaths.</li>
<li><a href="https://github.com/google/error-prone/commit/b8bf6ba8f7f5af5544e517162b32456e1afadd24"><code>b8bf6ba</code></a> Ignore explicit constructor invocations in `UnusedReturnValueMatcher.isReturn...</li>
<li><a href="https://github.com/google/error-prone/commit/c9bbbdb97e9e64801dfd910fd586bddfba126f99"><code>c9bbbdb</code></a> Reject invalid package names in Matchers.packageStartsWith</li>
<li><a href="https://github.com/google/error-prone/commit/e14c5e601037c22c9f1517934768891c877d2fb0"><code>e14c5e6</code></a> Make TruthIncompatibleType check <code>Table</code> assertions.</li>
<li><a href="https://github.com/google/error-prone/commit/beb8f899f3f1b9633e7bb2b00cc04044953f32f9"><code>beb8f89</code></a> Bump org.checkerframework:checker-qual from 4.3.1 to 4.4.0 in the dependencie...</li>
<li><a href="https://github.com/google/error-prone/commit/f72c29da0eb4b0028294b3e93a9ab1bebb60612a"><code>f72c29d</code></a> Flag impossible null comparisons via <code>Objects.equals</code>, <code>isNull</code>, and <code>nonNull</code>.</li>
<li><a href="https://github.com/google/error-prone/commit/d96ec281cd9c588b771a7ab69ad8a7dd2c503e0a"><code>d96ec28</code></a> Fix some bugs in <code>isLikelyToBePublicApi</code>.</li>
<li><a href="https://github.com/google/error-prone/commit/fb56246c8fb2ff50029d81dd14ec94e6e016607f"><code>fb56246</code></a> Only match Integer, Long, and Double in LambdaFunctionalInterface.</li>
<li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.52.0...v2.53.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_annotations&package-manager=maven&previous-version=2.52.0&new-version=2.53.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions

</details>

Fixes #2210

COPYBARA_INTEGRATE_REVIEW=#2210 from google:dependabot/maven/value/dependencies-cbee739f67 fe9e581
PiperOrigin-RevId: 1036343464
@copybara-service
copybara-service Bot merged commit 287dba4 into main Dec 4, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_1036249639 branch December 4, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants