From c8b7af521e66d8ef44a2f399286ce851dc39dd68 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Sun, 11 Feb 2018 21:06:37 +0100 Subject: [PATCH] move checkstyle rule back where it belongs --- .../tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java b/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java index e6efc2c11..a9ba55f8c 100644 --- a/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java +++ b/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java @@ -64,6 +64,7 @@ public abstract class DefaultCompilerAdapter //must keep for subclass BC, though unused: // CheckStyle:ConstantNameCheck OFF - bc protected static final String lSep = StringUtils.LINE_SEP; + // CheckStyle:ConstantNameCheck ON protected Path src; protected File destDir; @@ -92,7 +93,6 @@ public abstract class DefaultCompilerAdapter protected File[] compileList; protected Javac attributes; - // CheckStyle:ConstantNameCheck ON // CheckStyle:VisibilityModifier ON /**