Skip to content

Commit

Permalink
Issue #11214: Specify violation messages for EmptyForInitializerPadCh…
Browse files Browse the repository at this point in the history
…eck Input Files
  • Loading branch information
suniti0804 authored and rnveach committed Oct 31, 2023
1 parent 20e803c commit 8f9c514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -139,8 +139,7 @@ public final class InlineConfigParser {
* one violation message key.
* Until <a href="https://github.com/checkstyle/checkstyle/issues/11214">#11214</a>
*/
private static final Set<String> SUPPRESSED_CHECKS = new HashSet<>(Arrays.asList(
"com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForInitializerPadCheck",
private static final Set<String> SUPPRESSED_CHECKS = new HashSet<>(List.of(
"com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck"));

/**
Expand Down
Expand Up @@ -7,5 +7,5 @@

package com.puppycrawl.tools.checkstyle.checks.whitespace.emptyforinitializerpad;

class InputEmptyForInitializerPad2 // violation
class InputEmptyForInitializerPad2
{ }

0 comments on commit 8f9c514

Please sign in to comment.