aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTimur <timurtibeyev@gmail.com>2017-07-26 14:14:00 +0600
committerRoman Ivanov <romani@users.noreply.github.com>2017-07-26 22:23:29 -0700
commite0f764de8962100ff1fc3ab96f33e7ef5fb7fd03 (patch)
treeb70ff67c92dbf70de6c47853f4b841c654d39051 /config
parent62cae4f319593d6a1065e94354798b5dec245e5f (diff)
downloadcheckstyle-e0f764de8962100ff1fc3ab96f33e7ef5fb7fd03.tar.gz
Issue #4419: Add token type to LocalizedMessage
Diffstat (limited to 'config')
-rw-r--r--config/pmd.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/pmd.xml b/config/pmd.xml
index 7d69b671e..e40b59e6b 100644
--- a/config/pmd.xml
+++ b/config/pmd.xml
@@ -72,6 +72,12 @@
<property name="violationSuppressXPath" value="//MethodDeclaration[@Name='getDetails' and ../../..[@Image='RightCurlyCheck']]"/>
</properties>
</rule>
+ <rule ref="rulesets/java/codesize.xml/ExcessiveParameterList">
+ <properties>
+ <!-- LocalizedMessage class has constructor with many parameters -->
+ <property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@Image='LocalizedMessage']"/>
+ </properties>
+ </rule>
<rule ref="rulesets/java/comments.xml">
<!-- <exclude name="CommentRequired"/> -->