diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-23 10:33:38 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-23 10:33:38 +0100 |
commit | 8772a07e5a27f5858ed438d32f717c36d2307e3f (patch) | |
tree | ff1ad4ab77d3592578c2c7b99a4a409ce1b4f0ac /plugins/sonar-checkstyle-plugin | |
parent | 1d13e3d54fc40b7f45f61adb22bdebd1ac978f90 (diff) | |
download | sonarqube-8772a07e5a27f5858ed438d32f717c36d2307e3f.tar.gz sonarqube-8772a07e5a27f5858ed438d32f717c36d2307e3f.zip |
Improve description of the Checkstyle rule "Trailing Comment"
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> |