summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-07 15:12:30 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-07 15:12:30 +0100
commit56fa934f173d2d2496b58591c4e418601dd63f27 (patch)
treec684204806f3f9aa969b4de611e4ab4c3327499f /plugins
parenta8c4bb4ba8323e66576bcc13579f42093ce4759b (diff)
downloadsonarqube-56fa934f173d2d2496b58591c4e418601dd63f27.tar.gz
sonarqube-56fa934f173d2d2496b58591c4e418601dd63f27.zip
SONAR-2270 Make Checkstyle:ParameterNumber rule instantiable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml10
1 files changed, 2 insertions, 8 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 35c03296e42..c908f6b95d5 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
@@ -1212,15 +1212,9 @@
<priority>MAJOR</priority>
<name><![CDATA[Parameter Number]]></name>
<configKey><![CDATA[Checker/TreeWalker/ParameterNumber]]></configKey>
-
-
- <param key="max" type="i">
-
-
- </param>
+ <cardinality>MULTIPLE</cardinality>
+ <param key="max" type="i"/>
<param key="tokens" type="s[METHOD_DEF,CTOR_DEF]">
-
-
</param>
</rule>
<rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck">