diff options
author | Cole Faust <colefaust@google.com> | 2024-03-29 20:04:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-29 20:04:24 +0000 |
commit | 69bdf2dcf12d6e7576c4c8484481360505977982 (patch) | |
tree | dcdb847a90d0fe36ad7eeffbe2c698c7226dd710 | |
parent | 415cbbb2eba002df2396bf48051cb49f6c4aae5d (diff) | |
download | error_prone-69bdf2dcf12d6e7576c4c8484481360505977982.tar.gz |
Revert "Promote some issues to errors"
This reverts commit 415cbbb2eba002df2396bf48051cb49f6c4aae5d.
Reason for revert: b/331963959
Change-Id: I6fd652b479371007599e4ef5e01b621781ad7e52
-rw-r--r-- | soong/error_prone.go | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index 545ab32..3388119 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -113,19 +113,67 @@ func init() { // The checks that are not fatal to the build. config.ErrorProneChecksWarning = []string{ // Errorprone default severity ERROR + "-Xep:BadAnnotationImplementation:WARN", + "-Xep:BanJNDI:WARN", + "-Xep:BareDotMetacharacter:WARN", + "-Xep:BoxedPrimitiveEquality:WARN", + "-Xep:ComparableType:WARN", "-Xep:ComparisonOutOfRange:WARN", + "-Xep:ComplexBooleanConstant:WARN", + "-Xep:CollectionToArraySafeParameter:WARN", + "-Xep:ConditionalExpressionNumericPromotion:WARN", + "-Xep:DangerousLiteralNull:WARN", "-Xep:DoubleBraceInitialization:WARN", + "-Xep:DurationFrom:WARN", + "-Xep:DurationTemporalUnit:WARN", + "-Xep:EmptyTopLevelDeclaration:WARN", "-Xep:EqualsHashCode:WARN", + "-Xep:FormatString:WARN", + "-Xep:FromTemporalAccessor:WARN", + "-Xep:GetClassOnAnnotation:WARN", + "-Xep:GetClassOnClass:WARN", "-Xep:GuardedBy:WARN", + "-Xep:HashtableContains:WARN", + "-Xep:IdentityBinaryExpression:WARN", + "-Xep:IdentityHashMapBoxing:WARN", "-Xep:IgnoredPureGetter:WARN", "-Xep:ImmutableAnnotationChecker:WARN", "-Xep:ImmutableEnumChecker:WARN", + "-Xep:InstantTemporalUnit:WARN", + "-Xep:InvalidTimeZoneID:WARN", + "-Xep:InvalidZoneId:WARN", + "-Xep:IsInstanceIncompatibleType:WARN", "-Xep:IsLoggableTagLength:WARN", + "-Xep:JUnitParameterMethodNotFound:WARN", "-Xep:LenientFormatStringValidation:WARN", + "-Xep:LockOnBoxedPrimitive:WARN", + "-Xep:MathRoundIntLong:WARN", + "-Xep:MislabeledAndroidString:WARN", + "-Xep:MisusedDayOfYear:WARN", "-Xep:MissingSuperCall:WARN", + "-Xep:MisusedWeekYear:WARN", + "-Xep:ModifyingCollectionWithItself:WARN", + "-Xep:NoCanIgnoreReturnValueOnClasses:WARN", + "-Xep:NonRuntimeAnnotation:WARN", + "-Xep:NullableOnContainingClass:WARN", + "-Xep:NullTernary:WARN", + "-Xep:OverridesJavaxInjectableMethod:WARN", + "-Xep:ParcelableCreator:WARN", + "-Xep:PeriodFrom:WARN", + "-Xep:PreconditionsInvalidPlaceholder:WARN", + "-Xep:ProtoBuilderReturnValueIgnored:WARN", "-Xep:ProtocolBufferOrdinal:WARN", + "-Xep:ProtoFieldNullComparison:WARN", + "-Xep:RandomModInteger:WARN", "-Xep:RectIntersectReturnValueIgnored:WARN", "-Xep:ReturnValueIgnored:WARN", + "-Xep:SelfAssignment:WARN", + "-Xep:SelfComparison:WARN", + "-Xep:SelfEquals:WARN", + "-Xep:SizeGreaterThanOrEqualsZero:WARN", + "-Xep:StringBuilderInitWithChar:WARN", + "-Xep:UnnecessaryCheckNotNull:WARN", + "-Xep:UnusedCollectionModifiedInPlace:WARN", } // The checks that are default-disabled |