diff options
Diffstat (limited to 'plugins/sonar-checkstyle-plugin')
-rw-r--r-- | plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml index 37c17e03d5f..35c03296e42 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml +++ b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml @@ -1427,13 +1427,14 @@ <priority>MINOR</priority> <name><![CDATA[Trailing Comment]]></name> <configKey><![CDATA[Checker/TreeWalker/TrailingComment]]></configKey> - - - <param key="format" type="r"> - + <param> + <key>format</key> + <type>r</type> + <defaultValue>^[\\s\\}\\);]*$</defaultValue> </param> - <param key="legalComment" type="r"> - + <param> + <key>legalComment</key> + <type>r</type> </param> </rule> |