Sourced from com.google.errorprone:error_prone_core's releases.
Error Prone 2.36.0
Changes:
- Add new matcher interfaces to
ErrorProneScanner
for AST nodes introduced after Java 11 (e5fd194fa21ef9a01e8d4c72489906247aad81c8)- Fix compatibility with latest JDK 24 EA builds (https://github.com/google/error-prone/commit/d67bc156b737d13ac693d73a403a11a97804423f)
- Check that
--should-stop=ifError=FLOW
is set when using the-Xplugin
integration (e71db1f369a9367f6f2db34c4fbd006b6d6238fd)New checks:
DuplicateBranches
: Discourage conditional expressions and if statements where both branches are the sameRedundantControlFlow
: Reports redundantcontinue
statements.
ab522c7
Release Error Prone 2.36.0fc5aade
Remove swathes of assume()s on the current runtime version.b222ea8
Handle qualified enum elements in MissingCasesInEnumSwitch.332cbfa
Support record destructuring in ArgumentSelectionDefectChecker.0db3360
UsafeLocaleUsage: update the proposed fix to use replace(char,
char)
c816c8b
StatementSwitchToExpressionSwitch - remove // fall out
comments in switchesb5fa441
Consolidate javadoc plugin version2afd0cf
Run StatementSwitchToExpressionSwitch_refactoring over EP.37895d3
Fix snapshot doc publishing after https://github.com/google/error-prone/commi...c438756
StatementSwitchToExpressionSwitch: for "assignment switch" and
"direct conver...