dependabot[bot] opened a new pull request, #5084: URL: https://github.com/apache/arrow-adbc/pull/5084
Bumps the linters group in /java with 1 update: [com.google.errorprone:error_prone_core](https://github.com/google/error-prone). Updates `com.google.errorprone:error_prone_core` 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_core'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<?> 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 /> [](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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
