aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-02-08 00:07:25 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-02-08 00:07:25 +0100
commit5c22f66a216bff2ee2dac2c325cfb87f456a1570 (patch)
tree90961a960b2bf1d96c5d4fe1a147bd352ba521cd /plugins
parenta33de076ed4e6c0f770810df91860ebb81789bc8 (diff)
downloadsonarqube-5c22f66a216bff2ee2dac2c325cfb87f456a1570.tar.gz
sonarqube-5c22f66a216bff2ee2dac2c325cfb87f456a1570.zip
SONAR-2144 Cardinality of checkstyle rule Type Name should be updated to multiple
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml7
1 files changed, 4 insertions, 3 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 68d35188f62..44f8b1f8274 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
@@ -533,7 +533,7 @@ Rationale: Too large methods and classes are hard to read and costly to maintain
<priority>MINOR</priority>
<name><![CDATA[Constant Name]]></name>
<configKey><![CDATA[Checker/TreeWalker/ConstantName]]></configKey>
-
+ <cardinality>MULTIPLE</cardinality>
<description>
<![CDATA[Checks that constant names conform to the specified format]]></description>
<param key="format" type="r">
@@ -1612,7 +1612,7 @@ Rationale: Too large methods and classes are hard to read and costly to maintain
<priority>MAJOR</priority>
<name><![CDATA[Static Variable Name]]></name>
<configKey><![CDATA[Checker/TreeWalker/StaticVariableName]]></configKey>
-
+ <cardinality>MULTIPLE</cardinality>
<description>
<![CDATA[Checks that static, non-final fields conform to the specified format]]></description>
<param key="format" type="r">
@@ -1724,9 +1724,10 @@ Rationale: Too large methods and classes are hard to read and costly to maintain
</rule>-->
<rule key="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck" >
-<priority>MAJOR</priority>
+ <priority>MAJOR</priority>
<name><![CDATA[Type Name]]></name>
<configKey><![CDATA[Checker/TreeWalker/TypeName]]></configKey>
+ <cardinality>MULTIPLE</cardinality>
<description><![CDATA[Checks that type names conform to the specified format]]></description>
<param key="format" type="r">
<defaultValue>^[A-Z][a-zA-Z0-9]*$</defaultValue>