You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/07/14 14:24:02 UTC

[commons-rng] 08/23: PMD: Suppress println errors for the DiceGameApplication

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit 2ed2dc4210b946a2fcd5ba6252d2fb986738bc00
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jul 14 14:14:02 2021 +0100

    PMD: Suppress println errors for the DiceGameApplication
---
 src/main/resources/pmd/pmd-ruleset.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index cb3635d..9f599b0 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -78,6 +78,11 @@
           or @SimpleName='GuideTableDiscreteSampler']"/>
     </properties>
   </rule>
+  <rule ref="category/java/bestpractices.xml/SystemPrintln">
+    <properties>
+      <property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@SimpleName='DiceGameApplication']"/>
+    </properties>
+  </rule>
 
   <rule ref="category/java/codestyle.xml/ClassNamingConventions">
     <properties>