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 2019/06/25 17:41:24 UTC

[commons-rng] branch master updated: Exclude SeedFactory from PMD ClassNamingConventions rule.

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


The following commit(s) were added to refs/heads/master by this push:
     new b4b2265  Exclude SeedFactory from PMD ClassNamingConventions rule.
b4b2265 is described below

commit b4b226581a8d4b96873c507c9b60d5f58e1c9409
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Tue Jun 25 18:41:21 2019 +0100

    Exclude SeedFactory from PMD ClassNamingConventions rule.
---
 src/main/resources/pmd/pmd-ruleset.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index 919de8d..6b2c91f 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -81,7 +81,8 @@
     <properties>
       <!-- Do not require Utils/Helper suffix -->
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@Image='ListSampler' or @Image='ProviderBuilder' or @Image='ThreadLocalRandomSource']"/>
+        value="//ClassOrInterfaceDeclaration[@Image='ListSampler' or @Image='ProviderBuilder'
+          or @Image='ThreadLocalRandomSource' or @Image='SeedFactory']"/>
     </properties>
   </rule>
   <rule ref="category/java/codestyle.xml/ShortMethodName">