summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2024-03-27 23:55:55 -0700
committerCole Faust <colefaust@google.com>2024-03-27 23:55:55 -0700
commit415cbbb2eba002df2396bf48051cb49f6c4aae5d (patch)
tree3c0f43037cf6542dfe1eba93fef0d654be42b0a4
parente929b456c331aadff115fc93765873a4b7d9f69d (diff)
downloaderror_prone-415cbbb2eba002df2396bf48051cb49f6c4aae5d.tar.gz
Promote some issues to errors
Their occurances have been fixed or demoted at the module level. Bug: 253827323 Test: Presubmits Change-Id: Ice2631b8798c4f6dc5d349ad0fab74fb0f8387b2
-rw-r--r--soong/error_prone.go48
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