]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2144 Cardinality of checkstyle rule Type Name should be updated to multiple
authorsimonbrandhof <simon.brandhof@gmail.com>
Mon, 7 Feb 2011 23:07:25 +0000 (00:07 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Mon, 7 Feb 2011 23:07:25 +0000 (00:07 +0100)
plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml

index 68d35188f626ce6c278f697c9044d1ab8991d05a..44f8b1f8274099fd2137542d99720ea7e2bb1c40 100644 (file)
@@ -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>