Error Prone v2.3.1 Release Notes

Release Date: 2018-04-20 // about 6 years ago
  • ๐Ÿ†• New checks:

    • [AssertThrowsMultipleStatements] The lambda passed to assertThows should contain exactly one statement
    • [FieldCanBeFinal] This field is only assigned during initialization; consider making it final
    • [ObjectToString] Calling toString on Objects that don't override toString() doesn't provide useful information

    Other changes:

    • ๐Ÿ‘‰ Make ParcelableCreator check an ERROR
    • OrphanedFormatString detects string literals correctly passed to @FormatMethod methods

    ๐Ÿ›  Fixes issues: #996, #999, #1001, #1004