diff options
author | Cole Faust <colefaust@google.com> | 2024-04-04 00:08:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-04 00:08:21 +0000 |
commit | 5038250af025850193687794dcde3320460507e8 (patch) | |
tree | 3c0f43037cf6542dfe1eba93fef0d654be42b0a4 | |
parent | 69bdf2dcf12d6e7576c4c8484481360505977982 (diff) | |
download | error_prone-5038250af025850193687794dcde3320460507e8.tar.gz |
Revert^2 "Promote some issues to errors"
This reverts commit 69bdf2dcf12d6e7576c4c8484481360505977982.
Reason for revert: Relanding
Change-Id: Ie5c1fbe43351227342c9d9eb45562be4c4f6760d
-rw-r--r-- | soong/error_prone.go | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index 3388119..545ab32 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -113,67 +113,19 @@ 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 |