diff options
author | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-02-28 12:01:06 -0800 |
---|---|---|
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-03-01 23:40:23 +0000 |
commit | 3bd227b7bf9e2dd23466f0d35462e9475e313f00 (patch) | |
tree | fce1c4198270e812d50ed538d1026642583d141e | |
parent | 1a8a9032e0ad7978e931fc3a4e872a96bddfc201 (diff) |
build: Disable ErrorProne warnings
We won't be fixing these warnings on stable branches, so disable them to
quiet the build output.
Release-Notes: skip
Change-Id: I48eeee20541ad2240a3fe5cf3db797f34801f23c
-rw-r--r-- | tools/BUILD | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/BUILD b/tools/BUILD index d649cd7515..5ccbdbf3f3 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -74,7 +74,7 @@ java_package_configuration( "-Xep:BadImport:ERROR", "-Xep:BadInstanceof:ERROR", "-Xep:BadShiftAmount:ERROR", - "-Xep:BanJNDI:WARN", + "-Xep:BanJNDI:OFF", "-Xep:BanSerializableRead:ERROR", "-Xep:BigDecimalEquals:ERROR", "-Xep:BigDecimalLiteralDouble:ERROR", @@ -125,7 +125,7 @@ java_package_configuration( "-Xep:DoNotCallSuggester:ERROR", "-Xep:DoNotClaimAnnotations:ERROR", "-Xep:DoNotMock:ERROR", - "-Xep:DoNotMockAutoValue:WARN", + "-Xep:DoNotMockAutoValue:OFF", "-Xep:DoubleBraceInitialization:ERROR", "-Xep:DoubleCheckedLocking:ERROR", "-Xep:DuplicateMapKeys:ERROR", @@ -146,7 +146,7 @@ java_package_configuration( "-Xep:EqualsUsingHashCode:ERROR", "-Xep:EqualsWrongThing:ERROR", "-Xep:ErroneousThreadPoolConstructorChecker:ERROR", - "-Xep:EscapedEntity:WARN", + "-Xep:EscapedEntity:OFF", "-Xep:ExpectedExceptionChecker:ERROR", "-Xep:ExtendingJUnitAssert:ERROR", "-Xep:ExtendsAutoValue:ERROR", @@ -157,7 +157,7 @@ java_package_configuration( "-Xep:FloatingPointLiteralPrecision:ERROR", "-Xep:FloggerArgumentToString:ERROR", "-Xep:FloggerFormatString:ERROR", - "-Xep:FloggerLogString:WARN", + "-Xep:FloggerLogString:OFF", "-Xep:FloggerLogVarargs:ERROR", "-Xep:FloggerSplitLogStatement:ERROR", "-Xep:FloggerStringConcatenation:ERROR", @@ -187,7 +187,7 @@ java_package_configuration( "-Xep:ImmutableAnnotationChecker:ERROR", "-Xep:ImmutableEnumChecker:ERROR", "-Xep:ImmutableModification:ERROR", - "-Xep:ImpossibleNullComparison:WARN", + "-Xep:ImpossibleNullComparison:OFF", "-Xep:Incomparable:ERROR", "-Xep:IncompatibleArgumentType:ERROR", "-Xep:IncompatibleModifiers:ERROR", @@ -243,7 +243,7 @@ java_package_configuration( "-Xep:JavaLocalTimeGetNano:ERROR", "-Xep:JavaPeriodGetDays:ERROR", "-Xep:JavaTimeDefaultTimeZone:ERROR", - "-Xep:JavaUtilDate:WARN", + "-Xep:JavaUtilDate:OFF", "-Xep:JdkObsolete:ERROR", "-Xep:JodaConstructors:ERROR", "-Xep:JodaDateTimeConstants:ERROR", @@ -256,7 +256,7 @@ java_package_configuration( "-Xep:JodaWithDurationAddedLong:ERROR", "-Xep:LiteByteStringUtf8:ERROR", "-Xep:LiteEnumValueOf:ERROR", - "-Xep:LiteProtoToString:WARN", + "-Xep:LiteProtoToString:OFF", "-Xep:LocalDateTemporalAmount:ERROR", "-Xep:LockNotBeforeTry:ERROR", "-Xep:LockOnBoxedPrimitive:ERROR", @@ -288,7 +288,7 @@ java_package_configuration( "-Xep:MultipleParallelOrSequentialCalls:ERROR", "-Xep:MultipleUnaryOperatorsInMethodCall:ERROR", "-Xep:MustBeClosedChecker:ERROR", - "-Xep:MutableConstantField:WARN", + "-Xep:MutableConstantField:OFF", "-Xep:MutablePublicArray:ERROR", "-Xep:NCopiesOfChar:ERROR", "-Xep:NarrowingCompoundAssignment:ERROR", @@ -341,7 +341,7 @@ java_package_configuration( "-Xep:ProtoTimestampGetSecondsGetNano:ERROR", "-Xep:ProtoTruthMixedDescriptors:ERROR", "-Xep:ProtocolBufferOrdinal:ERROR", - "-Xep:ProvidesMethodOutsideOfModule:WARN", + "-Xep:ProvidesMethodOutsideOfModule:OFF", "-Xep:RandomCast:ERROR", "-Xep:RandomModInteger:ERROR", "-Xep:ReachabilityFenceUsage:ERROR", |