aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/errorprone/warnings
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gradle/errorprone/warnings')
-rw-r--r--examples/gradle/errorprone/warnings76
1 files changed, 76 insertions, 0 deletions
diff --git a/examples/gradle/errorprone/warnings b/examples/gradle/errorprone/warnings
new file mode 100644
index 00000000..da7302dd
--- /dev/null
+++ b/examples/gradle/errorprone/warnings
@@ -0,0 +1,76 @@
+errorProneWarnings = \
+-Xep:AmbiguousMethodReference:ERROR,\
+-Xep:ArgumentSelectionDefectChecker:ERROR,\
+-Xep:AssertEqualsArgumentOrderChecker:ERROR,\
+-Xep:AssertionFailureIgnored:ERROR,\
+-Xep:BadAnnotationImplementation:ERROR,\
+-Xep:BadComparable:ERROR,\
+-Xep:BoxedPrimitiveConstructor:ERROR,\
+-Xep:CannotMockFinalClass:ERROR,\
+-Xep:CanonicalDuration:ERROR,\
+-Xep:ClassCanBeStatic:ERROR,\
+-Xep:ClassNewInstance:ERROR,\
+-Xep:CollectionToArraySafeParameter:ERROR,\
+-Xep:CollectorShouldNotUseState:ERROR,\
+-Xep:ComparableAndComparator:ERROR,\
+-Xep:DefaultCharset:ERROR,\
+-Xep:DoubleCheckedLocking:ERROR,\
+-Xep:EqualsHashCode:ERROR,\
+-Xep:EqualsIncompatibleType:ERROR,\
+-Xep:Finally:ERROR,\
+-Xep:FloatingPointLiteralPrecision:ERROR,\
+-Xep:FragmentInjection:ERROR,\
+-Xep:FragmentNotInstantiable:ERROR,\
+-Xep:FunctionalInterfaceClash:ERROR,\
+-Xep:FutureReturnValueIgnored:ERROR,\
+-Xep:GetClassOnEnum:ERROR,\
+-Xep:ImmutableAnnotationChecker:ERROR,\
+-Xep:ImmutableEnumChecker:ERROR,\
+-Xep:IncompatibleModifiers:ERROR,\
+-Xep:IncrementInForLoopAndHeader:ERROR,\
+-Xep:InjectOnConstructorOfAbstractClass:ERROR,\
+-Xep:InputStreamSlowMultibyteRead:ERROR,\
+-Xep:InstanceOfAndCastMatchWrongType:ERROR,\
+-Xep:IntLongMath:ERROR,\
+-Xep:IterableAndIterator:ERROR,\
+-Xep:JUnit3FloatingPointComparisonWithoutDelta:ERROR,\
+-Xep:JUnit4ClassUsedInJUnit3:ERROR,\
+-Xep:JUnitAmbiguousTestClass:ERROR,\
+-Xep:JavaLangClash:ERROR,\
+-Xep:JdkObsolete:ERROR,\
+-Xep:LogicalAssignment:ERROR,\
+-Xep:MissingFail:ERROR,\
+-Xep:MissingOverride:ERROR,\
+-Xep:MultipleParallelOrSequentialCalls:ERROR,\
+-Xep:MutableConstantField:ERROR,\
+-Xep:NamedParameters:ERROR,\
+-Xep:NarrowingCompoundAssignment:WARN,\
+-Xep:NestedInstanceOfConditions:ERROR,\
+-Xep:NonAtomicVolatileUpdate:ERROR,\
+-Xep:NonOverridingEquals:ERROR,\
+-Xep:NullableConstructor:ERROR,\
+-Xep:NullablePrimitive:ERROR,\
+-Xep:NullableVoid:ERROR,\
+-Xep:OperatorPrecedence:ERROR,\
+-Xep:OptionalNotPresent:ERROR,\
+-Xep:OverrideThrowableToString:ERROR,\
+-Xep:Overrides:ERROR,\
+-Xep:OverridesGuiceInjectableMethod:ERROR,\
+-Xep:ParameterName:ERROR,\
+-Xep:PreconditionsInvalidPlaceholder:ERROR,\
+-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR,\
+-Xep:ReferenceEquality:ERROR,\
+-Xep:RequiredModifiers:ERROR,\
+-Xep:ShortCircuitBoolean:ERROR,\
+-Xep:SimpleDateFormatConstant:ERROR,\
+-Xep:StaticGuardedByInstance:ERROR,\
+-Xep:SynchronizeOnNonFinalField:ERROR,\
+-Xep:ThreadJoinLoop:ERROR,\
+-Xep:TruthConstantAsserts:ERROR,\
+-Xep:TypeParameterShadowing:ERROR,\
+-Xep:TypeParameterUnusedInFormals:ERROR,\
+-Xep:URLEqualsHashCode:ERROR,\
+-Xep:UnsynchronizedOverridesSynchronized:ERROR,\
+-Xep:UseCorrectAssertInTests:ERROR,\
+-Xep:WaitNotInLoop:ERROR,\
+-Xep:WakelockReleasedDangerously:ERROR