Skip to content

Error Prone 2.27.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Apr 15:59

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: v2.26.1...v2.27.0