diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml index 3e92d5b16..51f4ea010 100644 --- a/config/checkstyle_checks.xml +++ b/config/checkstyle_checks.xml @@ -108,7 +108,9 @@ - + + + diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/MainTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/MainTest.java index 442cab9e0..22561973b 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/MainTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/MainTest.java @@ -508,7 +508,8 @@ public class MainTest { }; exit.checkAssertionAfterwards(new Assertion() { - @Override public void checkAssertion() throws IOException { + @Override + public void checkAssertion() throws IOException { final String expectedPath = getFilePath("checks/metrics") + File.separator; final StringBuilder sb = new StringBuilder(); sb.append("Starting audit...").append(System.getProperty("line.separator")); diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/TreeWalkerTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/TreeWalkerTest.java index 6f0ecfc39..dcde375ac 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/TreeWalkerTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/TreeWalkerTest.java @@ -48,7 +48,8 @@ import com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck; import com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck; public class TreeWalkerTest extends BaseCheckTestSupport { - @Rule public final TemporaryFolder temporaryFolder = new TemporaryFolder(); + @Rule + public final TemporaryFolder temporaryFolder = new TemporaryFolder(); @Test public void testProperFileExtension() throws Exception { diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java index 21cc8661f..883fd7b04 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheckTest.java @@ -39,7 +39,8 @@ import com.puppycrawl.tools.checkstyle.BaseFileSetCheckTestSupport; import com.puppycrawl.tools.checkstyle.DefaultConfiguration; public class RegexpMultilineCheckTest extends BaseFileSetCheckTestSupport { - @Rule public final TemporaryFolder temporaryFolder = new TemporaryFolder(); + @Rule + public final TemporaryFolder temporaryFolder = new TemporaryFolder(); private DefaultConfiguration checkConfig;