Sourced from com.google.errorprone:error_prone_annotations's releases.
Error Prone 2.28.0
Error Prone nows supports the latest JDK 23 EA builds (#4412, #4415).
Closed issues:
- Improved errors for invalid check severities (#4306).
- Fix a crash with nested
instanceof
patterns (#4349).- Fix a crash in JUnitIncompatibleType (#4377).
- In ObjectEqualsForPrimitives, don't suggest replacing
equal
with==
for floating-point values (#4392).New checks:
DeeplyNested
discourages very deeply nested code that can cause StackOverflowErrors during compilation.GuiceNestedCombine
discourages nesting ofModules.combine()
, which is unnecessary.PatternMatchingInstanceof
migrates code to use pattern matching forinstanceof
SunApi
discourages use of internal proprietary JDK APIs which may be removed from future releases.Full Changelog: https://github.com/google/error-prone/compare/v2.27.1...v2.28.0
c71fd4e
Release Error Prone 2.28.032997f7
Bugfix assignment switch analysis in StatementSwitchToExpressionSwitch: if an...2dde254
Update references to javadoc APIs after the introduction of Markdown doc comm...5fef6e0
Yet another JUnitIncompatibleType crash fix.c2df1b6
Refactor comment handling in tokenization to use a new ErrorProneComment clas...3fff610
Update hamcrest to v2.26f265dd
Add a disabled regression test for an UnusedVariable bug5eded87
Add an Error Prone check that reimplements javac sunapi warnings9e0fbf7
Prepare for a change to the return type of JCCompilationUnit#getImports
in ...13be411
Handle null != CONST_CASE
in YodaCondition