Error Prone 2.0.19 release

130 views
Skip to first unread message

Liam Miller-Cushon

unread,
Mar 17, 2017, 2:09:23 PM3/17/17
to error-pro...@googlegroups.com, error-pron...@googlegroups.com

Error Prone 2.0.19 is available for download from Maven Central.


New checks


Updates to existing checks

  • ReturnValueIgnored: check for ignored return values of non-terminal stream functions

  • JUnit4TestNotRun don't flag methods in abstract classes

  • MethodCanBeStatic: don't report methods in inner classes

  • Fix RestrictedApi with nested whitelist annotations.

  • Disable SelfEquals inside assertions

  • Fix a crash in VarChecker on effectively final resource variables (#498)

  • Generalize IdentityBinaryExpression to handle more operators (#53)

  • Fix a bug in PrivateConstructorForUtilityClass (#530)

  • Merge GuardedByValidator into GuardedByChecker

  • Change canonical name for GuardedByChecker to GuardedBy.

  • Fix a crash in ArgumentParameterSwap (#490)


Removed checks

  • Remove the MultibindsInsteadOfMultibindings check: the @dagger.Multibindings annotation is being removed

  • Delete SelfEquality, which is obsolesced by IdentityBinaryExpression

  • Remove GuavaSelfEquals, and the Guava equals methods are now handled by SelfEquals


Other changes

  • Make -XepAllErrorsAsWarnings position-sensitive.

  • Add a -XepDisableAllChecks flag to turn off all suppressible checks unless explicitly enabled. Fixes #555.

  • Command line flags must now use canonical names to override or disable checks. Fixes #554

  • Don't use a snapshot dependency for test_helpers (#571)

Reply all
Reply to author
Forward
0 new messages