lucene icon indicating copy to clipboard operation
lucene copied to clipboard

deps(java): bump com.google.errorprone:error_prone_core from 2.38.0 to 2.39.0

Open dependabot[bot] opened this issue 6 months ago • 1 comments

Bumps com.google.errorprone:error_prone_core from 2.38.0 to 2.39.0.

Release notes

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

Error Prone 2.39.0

Changes:

  • Temporarily downgrade to Guava 33.4.0 (#5108)

Checks:

  • BooleanLiteral: Prefer true to Boolean.TRUE
  • ExpensiveLenientFormatString: Renamed from PreconditionsExpensiveString, detects unnecessary calls to String.format in the arguments of lenient formatting methods.
  • UnnecessaryQualifier: Detects @Qualifier or @BindingAnnotation annotations that have no effect, and can be removed

Issues: #4996, #5045

Full changelog: https://github.com/google/error-prone/compare/v2.38.0...v2.39.0

Commits
  • 7bfe453 Release Error Prone 2.39.0
  • 0d2f69c Downgrade Error Prone's Guava version to 33.4.0
  • 1ec2bbe Fix typos in OperatorPrecedence.md
  • 150417a Fix a crash when finding the enclosing method (for a second time).
  • bbb9e15 Disallow StackWalker in AndroidApiChecker
  • 576bfb1 Update Error Prone's Guava version
  • ca2e11d Fix some crashes in warning-level checks
  • a9eab60 Add some suggestions for Future in UndefinedEquals.md (the actual logic was a...
  • 51907a0 Remove the "improved heuristic" flag from JUnit4TestNotRun.
  • 1a53d51 Handle changes to EndPosTable
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jun 24 '25 23:06 dependabot[bot]

note the guava version shenanigans...

i'd have to test, but i don't think any of the new 3 checks apply to us... two are for frameworks not in use.

The Boolean.TRUE/FALSE -> true/false check doesnt make sense to me: it is an object. If we want to prevent autoboxing, then i'd rather just set org.eclipse.jdt.compiler.problem.autoboxing=error:

> Task :lucene:core:ecjLintTest
----------
1. ERROR in /home/rmuir/workspace/lucene/lucene/core/src/test/org/apache/lucene/TestDemo.java (at line 86)
	if (hasResults == Boolean.TRUE) {
	                  ^^^^^^^^^^^^
The expression of type Boolean is unboxed into boolean

Of course this would require fixing a lot of issues :)

rmuir avatar Jun 25 '25 04:06 rmuir

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!

github-actions[bot] avatar Jul 10 '25 00:07 github-actions[bot]

Superseded by #14955.

dependabot[bot] avatar Jul 15 '25 23:07 dependabot[bot]