Skip to content

Commit 2f61c89

Browse files
committed
Polish Gradle compile convention
See gh-23282
1 parent 71ddb86 commit 2f61c89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

buildSrc/src/main/java/org/springframework/build/compile/CompilerConventionsPlugin.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ public class CompilerConventionsPlugin implements Plugin<Project> {
5757
COMPILER_ARGS = new ArrayList<>();
5858
COMPILER_ARGS.addAll(commonCompilerArgs);
5959
COMPILER_ARGS.addAll(Arrays.asList(
60-
"-Xlint:serial", "-Xlint:cast", "-Xlint:classfile", "-Xlint:dep-ann",
61-
"-Xlint:divzero", "-Xlint:empty", "-Xlint:finally", "-Xlint:overrides",
62-
"-Xlint:path", "-Xlint:processing", "-Xlint:static", "-Xlint:try", "-Xlint:-options"
60+
"-Xlint:varargs", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
61+
"-Xlint:unchecked", "-Werror"
6362
));
6463
TEST_COMPILER_ARGS = new ArrayList<>();
6564
TEST_COMPILER_ARGS.addAll(commonCompilerArgs);

0 commit comments

Comments
 (0)