mirror of https://github.com/apache/lucene.git
Upgrade to errorprone 2.18 (#12086)
This commit is contained in:
parent
e06f8c2e8b
commit
4f33aa8515
|
@ -318,7 +318,7 @@ allprojects { prj ->
|
||||||
// '-Xep:ExtendingJUnitAssert:OFF', // noisy
|
// '-Xep:ExtendingJUnitAssert:OFF', // noisy
|
||||||
// '-Xep:ExtendsObject:OFF', // TODO: there are problems
|
// '-Xep:ExtendsObject:OFF', // TODO: there are problems
|
||||||
// '-Xep:FallThrough: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:Finally:OFF', // TODO: there are problems
|
||||||
'-Xep:FloatCast:WARN',
|
'-Xep:FloatCast:WARN',
|
||||||
'-Xep:FloatingPointAssertionWithinEpsilon:WARN',
|
'-Xep:FloatingPointAssertionWithinEpsilon:WARN',
|
||||||
|
@ -339,6 +339,7 @@ allprojects { prj ->
|
||||||
'-Xep:IncorrectMainMethod:WARN',
|
'-Xep:IncorrectMainMethod:WARN',
|
||||||
'-Xep:IncrementInForLoopAndHeader:WARN',
|
'-Xep:IncrementInForLoopAndHeader:WARN',
|
||||||
'-Xep:InheritDoc:WARN',
|
'-Xep:InheritDoc:WARN',
|
||||||
|
// '-Xep:InjectOnBugCheckers:OFF', // we don't use this annotation
|
||||||
// '-Xep:InjectInvalidTargetingOnScopingAnnotation: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:InjectOnConstructorOfAbstractClass:OFF', // we don't use this annotation
|
||||||
// '-Xep:InjectScopeAnnotationOnInterfaceOrAbstractClass:OFF', // we don't use this annotation
|
// '-Xep:InjectScopeAnnotationOnInterfaceOrAbstractClass:OFF', // we don't use this annotation
|
||||||
|
@ -379,6 +380,7 @@ allprojects { prj ->
|
||||||
// '-Xep:JodaPlusMinusLong:OFF', // we don't use joda-time
|
// '-Xep:JodaPlusMinusLong:OFF', // we don't use joda-time
|
||||||
// '-Xep:JodaTimeConverterManager: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:JodaWithDurationAddedLong:OFF', // we don't use joda-time
|
||||||
|
// '-Xep:LabelledBreakTarget:OFF', // stylistic
|
||||||
// '-Xep:LiteEnumValueOf:OFF', // we don't use protobuf
|
// '-Xep:LiteEnumValueOf:OFF', // we don't use protobuf
|
||||||
// '-Xep:LiteProtoToString:OFF', // we don't use protobuf
|
// '-Xep:LiteProtoToString:OFF', // we don't use protobuf
|
||||||
// '-Xep:LockNotBeforeTry:OFF', // TODO: there are problems
|
// '-Xep:LockNotBeforeTry:OFF', // TODO: there are problems
|
||||||
|
@ -481,6 +483,7 @@ allprojects { prj ->
|
||||||
// '-Xep:UnsafeFinalization:OFF', // we don't use finalizers, deprecated for removal, fails build
|
// '-Xep:UnsafeFinalization:OFF', // we don't use finalizers, deprecated for removal, fails build
|
||||||
'-Xep:UnsafeReflectiveConstructionCast:WARN',
|
'-Xep:UnsafeReflectiveConstructionCast:WARN',
|
||||||
// '-Xep:UnsynchronizedOverridesSynchronized:OFF', // TODO: there are problems
|
// '-Xep:UnsynchronizedOverridesSynchronized:OFF', // TODO: there are problems
|
||||||
|
// '-Xep:UnusedLabel:OFF', // TODO: there are problems
|
||||||
// '-Xep:UnusedMethod:OFF', // TODO: there are problems
|
// '-Xep:UnusedMethod:OFF', // TODO: there are problems
|
||||||
'-Xep:UnusedNestedClass:WARN',
|
'-Xep:UnusedNestedClass:WARN',
|
||||||
// '-Xep:UnusedTypeParameter:OFF', // TODO: there are problems
|
// '-Xep:UnusedTypeParameter:OFF', // TODO: there are problems
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
com.carrotsearch.randomizedtesting:*=2.8.1
|
com.carrotsearch.randomizedtesting:*=2.8.1
|
||||||
com.carrotsearch:hppc=0.9.1
|
com.carrotsearch:hppc=0.9.1
|
||||||
com.carrotsearch:procfork=1.0.6
|
com.carrotsearch:procfork=1.0.6
|
||||||
com.google.errorprone:*=2.17.0
|
com.google.errorprone:*=2.18.0
|
||||||
com.ibm.icu:icu4j=70.1
|
com.ibm.icu:icu4j=70.1
|
||||||
commons-codec:commons-codec=1.13
|
commons-codec:commons-codec=1.13
|
||||||
io.sgr:s2-geometry-library-java=1.0.0
|
io.sgr:s2-geometry-library-java=1.0.0
|
||||||
|
|
Loading…
Reference in New Issue