Sourced from com.google.errorprone:error_prone_annotations's releases.
Error Prone 2.50.0
New checks:
BoxingComparator: Detect implicitly-boxing Comparator.comparing key extractorsExposedPrivateType: Discourage references to private member classes from non-private APIsJUnitMethodInvoked: Discourage directly invoking JUnit test methodsListRemoveAmbiguous: Detect ambiguous calls toList.remove(int|Integer)PreferTestParameter: suggests using@TestParameterinstead of@TestParametersfor exhaustive boolean and enum parameters on single-element parameterized testsRecordComponentAccessorAnnotationConflict: Detect conflicts between record components and explicit accessor methodsRecordComponentOverride: Discourage@​Overrideon record component declarations that don't override anythingThrowableEqualsHashCode: Discourage overridingThrowable.equals()andhashCode()Closed issues: #5553, #5649, #5778
Full changelog: https://github.com/google/error-prone/compare/v2.49.0...v2.50.0
d802cff Release Error Prone 2.50.0b12b5f2 In StringCharset, move the description from explanation to summary.a7ca02a Update AssertThrowsUtils to emit var thrown = assertThrows(...) instead o...6b56517 Fix handling of nested tags in UnrecognisedJavadocTagd36e74f Remove translation of the fail() message into assertThrows(). We already ...c3581e9 Fix JavacFileManager compiler crash during speculative recompiles in modular ...da1f32b Remove assignments from assertThrows() lambdas. A large percentage of remai...dee62f7 Update AssertThrowsBlockToExpression to re-write single VariableTrees int...4939448 Only hoist the last statement into the assertThrows() lambda.30fd05a refactor: Rename JavaLangClash bug pattern to AvoidCommonTypeNames