Skip to content

Commit

Permalink
Upgrade to errorprone 2.18 (apache#12086)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmuir authored Jan 14, 2023
1 parent e06f8c2 commit 4f33aa8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion gradle/validation/error-prone.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ allprojects { prj ->
// '-Xep:ExtendingJUnitAssert:OFF', // noisy
// '-Xep:ExtendsObject:OFF', // TODO: there are problems
// '-Xep:FallThrough:OFF', // TODO: there are problems
// '-Xep:Finalize:OFF', // we use forbidden-apis for this (jdk-deprecated method)
'-Xep:Finalize:WARN', // catches actual finalizers that don't call super
// '-Xep:Finally:OFF', // TODO: there are problems
'-Xep:FloatCast:WARN',
'-Xep:FloatingPointAssertionWithinEpsilon:WARN',
Expand All @@ -339,6 +339,7 @@ allprojects { prj ->
'-Xep:IncorrectMainMethod:WARN',
'-Xep:IncrementInForLoopAndHeader:WARN',
'-Xep:InheritDoc:WARN',
// '-Xep:InjectOnBugCheckers:OFF', // we don't use this annotation
// '-Xep:InjectInvalidTargetingOnScopingAnnotation:OFF', // we don't use this annotation
// '-Xep:InjectOnConstructorOfAbstractClass:OFF', // we don't use this annotation
// '-Xep:InjectScopeAnnotationOnInterfaceOrAbstractClass:OFF', // we don't use this annotation
Expand Down Expand Up @@ -379,6 +380,7 @@ allprojects { prj ->
// '-Xep:JodaPlusMinusLong:OFF', // we don't use joda-time
// '-Xep:JodaTimeConverterManager:OFF', // we don't use joda-time
// '-Xep:JodaWithDurationAddedLong:OFF', // we don't use joda-time
// '-Xep:LabelledBreakTarget:OFF', // stylistic
// '-Xep:LiteEnumValueOf:OFF', // we don't use protobuf
// '-Xep:LiteProtoToString:OFF', // we don't use protobuf
// '-Xep:LockNotBeforeTry:OFF', // TODO: there are problems
Expand Down Expand Up @@ -481,6 +483,7 @@ allprojects { prj ->
// '-Xep:UnsafeFinalization:OFF', // we don't use finalizers, deprecated for removal, fails build
'-Xep:UnsafeReflectiveConstructionCast:WARN',
// '-Xep:UnsynchronizedOverridesSynchronized:OFF', // TODO: there are problems
// '-Xep:UnusedLabel:OFF', // TODO: there are problems
// '-Xep:UnusedMethod:OFF', // TODO: there are problems
'-Xep:UnusedNestedClass:WARN',
// '-Xep:UnusedTypeParameter:OFF', // TODO: there are problems
Expand Down
2 changes: 1 addition & 1 deletion versions.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
com.carrotsearch.randomizedtesting:*=2.8.1
com.carrotsearch:hppc=0.9.1
com.carrotsearch:procfork=1.0.6
com.google.errorprone:*=2.17.0
com.google.errorprone:*=2.18.0
com.ibm.icu:icu4j=70.1
commons-codec:commons-codec=1.13
io.sgr:s2-geometry-library-java=1.0.0
Expand Down

0 comments on commit 4f33aa8

Please sign in to comment.