Sourced from error_prone_core's releases.
Error Prone 2.20.0
Changes:
- This release is compatible with early-access builds of JDK 21.
New Checkers:
InlineTrivialConstant
UnnecessaryStringBuilder
BanClassLoader
DereferenceWithNullBranch
DoNotUseRuleChain
LockOnNonEnclosingClassLiteral
MissingRefasterAnnotation
NamedLikeContextualKeyword
NonApiType
Fixes issues: #2232, #2243, #2997, #3301, #3843, #3903, #3918, #3923, #3931, #3945, #3946
Full Changelog: https://github.com/google/error-prone/compare/v2.19.1...v2.20.0
79935c0
Release Error Prone 2.20.04148b44
Remove FRAGILE_CODE tag from StringCaseLocaleUsageb42c84f
Strip enough "*"s to turn something into non-Javadoc.12b90df
Fix one of the classic blunders in UnnecessaryStringBuilder
a86e28b
Warn when on Stream
parameters and Iterator
return types.4f11cba
Don't fire some NonApiType
checks inside of GraphWrapper
s.e3743fc
Add a check for unnecessary usages of StringBuilder
3195ab0
Recognize MethodHandle
as immutable.7f36856
Fire InlineTrivialConstant
on EMPTY
and EMPTY_STR
too.bda0edc
Suggest inlining trivial constants like EMPTY_STRING