]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3485 Add parameter 'allowUnknownTags' to Checkstyle JavadocType check
authorEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 29 Jun 2012 11:20:29 +0000 (17:20 +0600)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 29 Jun 2012 11:20:29 +0000 (17:20 +0600)
plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/plugins/checkstyle/rules.xml
plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/checkstyle.properties

index ddabafd2749ef0203963d6d5cb1fdfa7a70e47e1..91be0290e3d42b953ffe7cd73f740a514a2efac0 100644 (file)
     </param>
     <param key="allowMissingParamTags" type="b">
 
+    </param>
+    <param key="allowUnknownTags" type="b">
+
     </param>
     <param key="tokens" type="s[INTERFACE_DEF,CLASS_DEF]">
 
index aa9629e26af4db1b36f74aee540a5bf3abfabf79..07491e32255902ce61a6b62ff9685d4539c5c64f 100644 (file)
@@ -184,6 +184,7 @@ rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.param.tokens=definitions to check
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.param.scope=visibility scope where Javadoc comments are checked
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.param.allowMissingParamTags=whether to ignore errors when a class has type parameters but does not have matching param tags in the javadoc. Default is false.
+rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.param.allowUnknownTags=whether to ignore errors when a Javadoc tag is not recognised. Default is false.
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck.param.versionFormat=pattern for @version tag
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck.name=Final Parameters
 rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck.param.tokens=blocks to check