diff options
Diffstat (limited to 'soong/error_prone.go')
-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 |