From e60bf1807aa9d02552948781f8ffa8dcc6c40f16 Mon Sep 17 00:00:00 2001 From: rnveach Date: Fri, 17 Feb 2017 17:50:40 -0500 Subject: [PATCH] Issue #3748: updated reason for google's EmptyBlockCheck config --- .../puppycrawl/tools/checkstyle/internal/AllChecksTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/internal/AllChecksTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/internal/AllChecksTest.java index a49b9a6b3..cafb4e61b 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/internal/AllChecksTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/internal/AllChecksTest.java @@ -219,8 +219,7 @@ public class AllChecksTest extends BaseCheckTestSupport { // google doesn't require or prevent braces on these "LAMBDA", "LITERAL_DEFAULT", "LITERAL_CASE").collect(Collectors.toSet())); GOOGLE_TOKENS_IN_CONFIG_TO_IGNORE.put("EmptyBlock", Stream.of( - // state of the configuration when test was made until - // https://github.com/checkstyle/checkstyle/issues/3748 + // google doesn't specifically mention empty braces at the start of a case/default "LITERAL_DEFAULT", "LITERAL_CASE", // can be empty for special cases via '6.2 Caught exceptions: not ignored' "LITERAL_CATCH",