Releases: google/error-prone
Releases · google/error-prone
Error Prone 2.14.0
Error Prone 2.13.1
What's Changed
- Fix a crash in
UnnecessaryBoxedVariable
in #3118 - Include the unicode character in the diagnostic message in #3119
Full Changelog: v2.13.0...v2.13.1
Error Prone 2.13.0
- Handle all annotations with the simple name
Generated
in-XepDisableWarningsInGeneratedCode
(#3094) - Reconcile
BugChecker#isSuppressed
with suppression handling inErrorProneScanner
(#3094) - Fix a bug in
enclosingPackage
(8fa64d4) - Improve performance of fix application (186334b)
- Implicitly treat
@AutoBuilder
setter methods as@CanIgnoreReturnValue
. - Remove some obsolete checks (
PublicConstructorForAbstractClass
,HashCodeToString
)
Error Prone 2.12.1
-
This release adds an infrastructure optimization to
AppliedFix
source code processing.
Error Prone 2.12.0
New checks
BoxedPrimitiveEquality
DoubleBraceInitialization
IgnoredPureGetter
LockOnBoxedPrimitive
IncorrectMainMethod
LongDoubleConversion
RobolectricShadowDirectlyOn
StaticAssignmentOfThrowable
UnnecessaryLongToIntConversion
Varifier
Fixed issues: #58, #65, #1327, #1654, #2858, #2867, #2916, #2951, #2954, #3006, #3008
Full Changelog: v2.11.0...v2.12.0
Error Prone 2.11.0
Error Prone now requires JDK 11 or newer (#2730).
New checks
AutoValueBuilderDefaultsInConstructor
FloggerLogString
UnicodeDirectionalityCharacters
UnicodeInCode
AlreadyChecked
BugPatternNaming
MissingImplementsComparable
NegativeCharLiteral
PreferredInterfaceType
StronglyTypeByteString
UsingJsr305CheckReturnValue
Fixed issues: #2641, #2705, #2776, #2798, #2799, #2819, #2820, #2831, #2833, #2834, #2835, #2861, #2873, #2889, #2892, #2901
Full Changelog: v2.10.0...v2.11.0
Error Prone 2.10.0
New checks
AlwaysThrows
StackTraceElementGetClass
BareDotMetacharacter
DistinctVarargsChecker
MalformedInlineTag
MemoizeConstantVisitorStateLookups
UnicodeEscape
FieldMissingNullable
Java8ApiChecker
ParameterMissingNullable
TooManyParameters
TryWithResourcesVariable
UnnecessaryFinal
VoidMissingNullable
Full Changelog: v2.9.0...v2.10.0
Error Prone 2.9.0
Error Prone 2.8.1
This release adds a new check (LoopOverCharArray), and a handful of other small improvements (v2.8.0...v2.8.1).