]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-1971: Change description of TodoComment rule
authorGodin <mandrikov@gmail.com>
Tue, 23 Nov 2010 16:30:48 +0000 (16:30 +0000)
committerGodin <mandrikov@gmail.com>
Tue, 23 Nov 2010 16:30:48 +0000 (16:30 +0000)
plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml

index b96aabb830b87921809078ef5ac24e6974e55c0c..3f0e1962c5a5be17529d6987bfae8fd28b81ea0f 100644 (file)
@@ -1523,13 +1523,13 @@ Rationale: Too large methods and classes are hard to read and costly to maintain
     </param>
   </rule>
   <rule key="com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck" priority="MINOR">
-    <name><![CDATA[Todo Comment]]></name>
+    <name><![CDATA[Comment pattern matcher]]></name>
     <configKey><![CDATA[Checker/TreeWalker/TodoComment]]></configKey>
     <category name="Maintainability"/>
     <cardinality>MULTIPLE</cardinality>
-    <description><![CDATA[A check for TODO comments.]]></description>
+    <description><![CDATA[This rule allows to find any kind of pattern inside comments like TODO, NOPMD, NOSONAR, ...]]></description>
     <param key="format" type="r">
-      <description><![CDATA[pattern to check. Default is TODO:]]></description>
+      <description><![CDATA[Regular expression pattern to check. Default is TODO:]]></description>
     </param>
   </rule>
   <rule key="com.puppycrawl.tools.checkstyle.checks.indentation.TrailingCommentCheck" priority="MINOR">