You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"-XepPatchLocation:IN_PLACE", // why only certain picnic rules apply?
39
+
"-XepPatchChecks:"+
40
+
"AddNullMarkedToPackageInfo,"+
41
+
"AmbiguousJsonCreator,"+
42
+
"AssertJNullnessAssertion,"+
43
+
"AutowiredConstructor,"+
44
+
"CanonicalAnnotationSyntax,"+
45
+
"CanonicalClassNameUsage,"+
46
+
"ClassCastLambdaUsage,"+
47
+
"CollectorMutability,"+
48
+
"ConstantNaming,"+
49
+
"DeadException,"+
50
+
"DefaultCharset,"+
51
+
"EagerStringFormatting,"+
52
+
"EmptyMethod,"+
53
+
"EmptyMonoZip,"+
54
+
"ExplicitArgumentEnumeration,"+
55
+
"ExplicitEnumOrdering,"+
56
+
"FluxFlatMapUsage,"+
57
+
"FluxImplicitBlock,"+
58
+
"FormatStringConcatenation,"+
59
+
"IdentityConversion,"+
60
+
"ImmutablesSortedSetComparator,"+
61
+
"IsInstanceLambdaUsage,"+
62
+
"JUnitClassModifiers,"+
63
+
"JUnitMethodDeclaration,"+
64
+
"JUnitNullaryParameterizedTestDeclaration,"+
65
+
"JUnitValueSource,"+
66
+
"LexicographicalAnnotationAttributeListing,"+
67
+
"LexicographicalAnnotationListing,"+
68
+
"MissingOverride,"+
69
+
"MockitoMockClassReference,"+
70
+
"MockitoStubbing,"+
71
+
"MongoDBTextFilterUsage,"+
72
+
"NestedOptionals,"+
73
+
"NestedPublishers,"+
74
+
"NonEmptyMono,"+
75
+
"NonStaticImport,"+
76
+
"OptionalOrElseGet,"+
77
+
"PrimitiveComparison,"+
78
+
"RedundantStringConversion,"+
79
+
"RedundantStringEscape,"+
80
+
"RefasterAnyOfUsage,"+
81
+
"ImmutableEnumChecker,"+
82
+
"RequestMappingAnnotation,"+
83
+
"RequestParamType,"+
84
+
"Slf4jLogStatement,"+
85
+
"Slf4jLoggerDeclaration,"+
86
+
"SpringMvcAnnotation,"+
87
+
"StaticImport,"+
88
+
"StringJoin,"+
89
+
"TimeZoneUsage"
90
+
)
91
+
}
30
92
val shouldDisableErrorProne = java.toolchain.implementation.orNull ==JvmImplementation.J9
31
93
if (name =="compileJava"&&!shouldDisableErrorProne) {
32
94
disable(
33
-
34
-
// This check is opinionated wrt. which method names it considers unsuitable for import which includes
35
-
// a few of our own methods in `ReflectionUtils` etc.
36
-
"BadImport",
37
-
38
-
// The findings of this check are subjective because a named constant can be more readable in many cases
39
-
"UnnecessaryLambda",
40
-
41
-
// Resolving findings for these checks requires ErrorProne's annotations which we don't want to use
42
-
"AnnotateFormatMethod",
95
+
"AnnotateFormatMethod", // We don't want to use ErrorProne's annotations.
96
+
"BadImport", // This check is opinionated wrt. which method names it considers unsuitable for import which includes a few of our own methods in `ReflectionUtils` etc.
0 commit comments