Skip to content

Commit 637abdf

Browse files
author
Vincent Potucek
committed
[prone] Apply errorprone
1 parent 2ec4ce0 commit 637abdf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gradle/error-prone.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ tasks.withType(JavaCompile).configureEach {
2020
// patchable
2121
'LexicographicalAnnotationAttributeListing',
2222
'LexicographicalAnnotationListing',
23-
'NonStaticImport',
2423
'Slf4jLoggerDeclaration', // logger -> log
25-
'StaticImport',
2624
// critical, finds lots of bugs... unused configs and stuff.
2725
'Unused',
2826
'UnusedMethod',
@@ -31,6 +29,8 @@ tasks.withType(JavaCompile).configureEach {
3129
)
3230
error(
3331
'AmbiguousJsonCreator',
32+
// 'NonStaticImport',
33+
// 'StaticImport',
3434
'AssertJNullnessAssertion',
3535
'AutowiredConstructor',
3636
'CanonicalAnnotationSyntax',
@@ -79,6 +79,8 @@ tasks.withType(JavaCompile).configureEach {
7979
'MockitoMockClassReference,' +
8080
'MockitoStubbing,' +
8181
'NestedOptionals,' +
82+
'NonStaticImport,' +
83+
'StaticImport,' +
8284
'PrimitiveComparison,' +
8385
'RedundantStringConversion,' +
8486
'RedundantStringEscape,' +

0 commit comments

Comments
 (0)