google / auto

A collection of source code generators for Java.
Apache License 2.0
10.43k stars 1.2k forks source link

Bump errorprone.version from 2.26.1 to 2.27.0 in /value #1772

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps errorprone.version from 2.26.1 to 2.27.0. Updates com.google.errorprone:error_prone_annotations from 2.26.1 to 2.27.0

Release notes

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

Error Prone 2.27.0

New checks:

  • ClassInitializationDeadlock detects class initializers that reference subtypes of the current class, which can result in deadlocks.
  • MockitoDoSetup suggests using when/thenReturn over doReturn/when for additional type safety.
  • VoidUsed suggests using a literal null instead of referring to a Void-typed variable.

Modified checks:

Closed issues: #4291. #4308, #4343, #4320

Full Changelog: https://github.com/google/error-prone/compare/v2.26.1...v2.27.0

Commits
  • ebe0a01 Release Error Prone 2.27.0
  • fd9b826 Remove a very literal change-detector test, and move the comment to the produ...
  • f289d9e VoidUsed: flag Void variables being used, where they can simply be repl...
  • 3ee6f41 Fix for a crash in RedundantSetterCall.
  • 92c106d Encourage when/thenReturn over doReturn/when.
  • 07c1a7c Stop mentioning @Var in[]
  • 9d66272 Correction to UseCorrectAssertInTests.
  • a6ab21a Fix a crash in JUnitIncompatibleType
  • 5a7b8d9 NearbyCallers: scan the body of expression lambdas.
  • 53d787c Don't suggest ImmutableSet if ImmutableList is unused.
  • Additional commits viewable in compare view


Updates com.google.errorprone:error_prone_type_annotations from 2.26.1 to 2.27.0

Release notes

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

Error Prone 2.27.0

New checks:

  • ClassInitializationDeadlock detects class initializers that reference subtypes of the current class, which can result in deadlocks.
  • MockitoDoSetup suggests using when/thenReturn over doReturn/when for additional type safety.
  • VoidUsed suggests using a literal null instead of referring to a Void-typed variable.

Modified checks:

Closed issues: #4291. #4308, #4343, #4320

Full Changelog: https://github.com/google/error-prone/compare/v2.26.1...v2.27.0

Commits
  • ebe0a01 Release Error Prone 2.27.0
  • fd9b826 Remove a very literal change-detector test, and move the comment to the produ...
  • f289d9e VoidUsed: flag Void variables being used, where they can simply be repl...
  • 3ee6f41 Fix for a crash in RedundantSetterCall.
  • 92c106d Encourage when/thenReturn over doReturn/when.
  • 07c1a7c Stop mentioning @Var in[]
  • 9d66272 Correction to UseCorrectAssertInTests.
  • a6ab21a Fix a crash in JUnitIncompatibleType
  • 5a7b8d9 NearbyCallers: scan the body of expression lambdas.
  • 53d787c Don't suggest ImmutableSet if ImmutableList is unused.
  • Additional commits viewable in compare view


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 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] commented 6 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.