1+ # NarrowingCompoundAssignment is marked as WARN
2+ # detects errors in autovalue generated code.
3+
14errorProneWarnings = \
25-Xep:AmbiguousMethodReference:ERROR,\
36-Xep:ArgumentSelectionDefectChecker:ERROR,\
@@ -8,22 +11,26 @@ errorProneWarnings = \
811-Xep:BoxedPrimitiveConstructor:ERROR,\
912-Xep:CannotMockFinalClass:ERROR,\
1013-Xep:CanonicalDuration:ERROR,\
14+ -Xep:CatchFail:ERROR,\
1115-Xep:ClassCanBeStatic:ERROR,\
1216-Xep:ClassNewInstance:ERROR,\
1317-Xep:CollectionToArraySafeParameter:ERROR,\
1418-Xep:CollectorShouldNotUseState:ERROR,\
1519-Xep:ComparableAndComparator:ERROR,\
20+ -Xep:DateFormatConstant:ERROR,\
1621-Xep:DefaultCharset:ERROR,\
1722-Xep:DoubleCheckedLocking:ERROR,\
1823-Xep:EqualsHashCode:ERROR,\
1924-Xep:EqualsIncompatibleType:ERROR,\
25+ -Xep:FallThrough:ERROR,\
2026-Xep:Finally:ERROR,\
27+ -Xep:FloatCast:ERROR,\
2128-Xep:FloatingPointLiteralPrecision:ERROR,\
2229-Xep:FragmentInjection:ERROR,\
2330-Xep:FragmentNotInstantiable:ERROR,\
24- -Xep:FunctionalInterfaceClash:ERROR,\
2531-Xep:FutureReturnValueIgnored:ERROR,\
2632-Xep:GetClassOnEnum:ERROR,\
33+ -Xep:HidingField:ERROR,\
2734-Xep:ImmutableAnnotationChecker:ERROR,\
2835-Xep:ImmutableEnumChecker:ERROR,\
2936-Xep:IncompatibleModifiers:ERROR,\
@@ -39,11 +46,12 @@ errorProneWarnings = \
3946-Xep:JavaLangClash:ERROR,\
4047-Xep:JdkObsolete:ERROR,\
4148-Xep:LogicalAssignment:ERROR,\
49+ -Xep:MissingCasesInEnumSwitch:ERROR,\
4250-Xep:MissingFail:ERROR,\
4351-Xep:MissingOverride:ERROR,\
52+ -Xep:ModifyCollectionInEnhancedForLoop:ERROR,\
4453-Xep:MultipleParallelOrSequentialCalls:ERROR,\
4554-Xep:MutableConstantField:ERROR,\
46- -Xep:NamedParameters:ERROR,\
4755-Xep:NarrowingCompoundAssignment:WARN,\
4856-Xep:NestedInstanceOfConditions:ERROR,\
4957-Xep:NonAtomicVolatileUpdate:ERROR,\
@@ -59,17 +67,22 @@ errorProneWarnings = \
5967-Xep:ParameterName:ERROR,\
6068-Xep:PreconditionsInvalidPlaceholder:ERROR,\
6169-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR,\
70+ -Xep:QualifierOrScopeOnInjectMethod:ERROR,\
71+ -Xep:ReachabilityFenceUsage:ERROR,\
6272-Xep:ReferenceEquality:ERROR,\
6373-Xep:RequiredModifiers:ERROR,\
6474-Xep:ShortCircuitBoolean:ERROR,\
65- -Xep:SimpleDateFormatConstant:ERROR,\
6675-Xep:StaticGuardedByInstance:ERROR,\
76+ -Xep:StringSplitter:ERROR,\
6777-Xep:SynchronizeOnNonFinalField:ERROR,\
6878-Xep:ThreadJoinLoop:ERROR,\
79+ -Xep:ThreadLocalUsage:ERROR,\
80+ -Xep:ThreeLetterTimeZoneID:ERROR,\
6981-Xep:TruthConstantAsserts:ERROR,\
7082-Xep:TypeParameterShadowing:ERROR,\
7183-Xep:TypeParameterUnusedInFormals:ERROR,\
7284-Xep:URLEqualsHashCode:ERROR,\
85+ -Xep:UnsafeFinalization:ERROR,\
7386-Xep:UnsynchronizedOverridesSynchronized:ERROR,\
7487-Xep:UseCorrectAssertInTests:ERROR,\
7588-Xep:WaitNotInLoop:ERROR,\
0 commit comments