Error Prone 2.4.0
Support for latest JDK versions: Error Prone is now compatible with JDK 8 through JDK 14, as well as early access builds of JDK 15.
New checks:
- AutoValueSubclassLeaked
- CacheLoaderNull
- CheckedExceptionNotThrown
- CollectionUndefinedEquality
- ConstantPatternCompile
- DefaultPackage
- EmptyCatch
- FieldCanBeStatic
- ForEachIterable
- FromTemporalAccessor
- IdentityHashMapBoxing
- IgnoredPureGetter
- InlineFormatString
- InvalidLink
- LockOnBoxedPrimitive
- LossyPrimitiveCompare
- MisusedDayOfYear
- MutablePublicArray
- NonCanonicalType
- NullOptional
- ProtectedMembersInFinalClass
- PublicConstructorForAbstractClass
- RedundantCondition
- StaticAssignmentInConstructor
- StronglyTypeTime
- SuppressWarningsWithoutExplanation
- TruthGetOrDefault
- UnnecessarilyFullyQualified
- UrlInSee
Fixed issues: #1070, #1106, #1107, #1110, #1111, #1187, #1208, #1239, #1265, #1428, #1432, #1433, #1439, #1444, #1447, #1449, #1451, #1454, #1455, #1458, #1462, #1473, #1491, #1531, #1558, #1565, #1570, #1573, #1586, #1587, #1590, #1591, #1602, #1606, #1609, #1624, #776, #785, #930