Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2025

Bumps com.google.errorprone:error_prone_annotation from 2.36.0 to 2.42.0.

Release notes

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

Error Prone 2.42.0

New checks:

Changes:

  • The return type of ASTHelpers.asFlagSet has changed. The previous type was EnumSet<Flags.Flag>, where Flags.Flag is an enum in the javac class Flags. A recent JDK change has replaced that enum with a new top-level enum called FlagsEnum. It is not possible to change ASTHelpers.asFlagSet in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns ImmutableSet<String>, where the strings come from the toString() of the enum constants. That means they are "native", "abstract", etc.
  • Flag IO.print[ln]() in SystemOut.

Full changelog: google/error-prone@v2.41.0...v2.42.0

Error Prone 2.41.0

New checks:

  • EffectivelyPrivate: Detect declarations that have public or protected modifiers, but are effectively private

Changes:

  • Skip BooleanLiteral findings if the target type is boxed (#5134)

Full changelog: google/error-prone@v2.40.0...v2.41.0

Error Prone 2.40.0

Changes:

Full changelog: google/error-prone@v2.39.0...v2.40.0

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: google/error-prone@v2.38.0...v2.39.0

Error Prone 2.38.0

... (truncated)

Commits
  • 52b6180 Release Error Prone 2.42.0
  • 691c64a Flag IO.print[ln]() in SystemOut.
  • 0b751cd ExpicitArrayForVarargs: flag unnecessary explicit construction of an array to...
  • 982fe20 Tweak links to point to newer versions.
  • a2df97f [StatementSwitchToExpressionSwitch] fix bug where case null can sometimes b...
  • e691be5 Fix (behind a flag) a silly bug in RedundantSetterCall.
  • ce1a422 Add Durations.wait() to WaitMatchers.waitMethodWithTimeout (and make them...
  • da03fea Update MethodCanBeStatic to be able to detect and trigger on Guice @​Provides ...
  • 83e6582 RedundantSetterCall: note that setFooValue and setFooBytes can be aliases for...
  • db62c8c Automated rollback of commit e1b16e24461d90f2b11f8213a68bfccc0426d4f3.
  • 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)

Bumps [com.google.errorprone:error_prone_annotation](https://github.com/google/error-prone) from 2.36.0 to 2.42.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.36.0...v2.42.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotation
  dependency-version: 2.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Sep 22, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 22, 2025

Superseded by #72.

@dependabot dependabot bot closed this Oct 22, 2025
@dependabot dependabot bot deleted the dependabot/maven/com.google.errorprone-error_prone_annotation-2.42.0 branch October 22, 2025 15:35
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants