Skip to content

Commit c6545f6

Browse files
committed
Issue #117: update for EmptyBlock.option values
1 parent 4e63f5d commit c6545f6

File tree

1 file changed

+2
-2
lines changed
  • checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle

1 file changed

+2
-2
lines changed

checkstyle-sonar-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,8 @@
467467
<priority>MAJOR</priority>
468468
<name><![CDATA[Empty Block]]></name>
469469
<configKey><![CDATA[Checker/TreeWalker/EmptyBlock]]></configKey>
470-
<param key="option" type="s[text,stmt]">
471-
<defaultValue>stmt</defaultValue>
470+
<param key="option" type="s[text,statement]">
471+
<defaultValue>statement</defaultValue>
472472
</param>
473473
<param key="tokens"
474474
type="s[LITERAL_WHILE,LITERAL_TRY,LITERAL_CATCH,LITERAL_FINALLY,LITERAL_DO,LITERAL_IF,LITERAL_ELSE,LITERAL_FOR,INSTANCE_INIT,STATIC_INIT,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_CASE,LITERAL_DEFAULT,ARRAY_INIT]">

0 commit comments

Comments
 (0)