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:07 UTC
[commons-rng] 13/23: PMD: Suppress naming convention error for Hex
class
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 5241b4acbdab7d0031dc63b9a23cb16ea0cab0be
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jul 14 14:29:24 2021 +0100
PMD: Suppress naming convention error for Hex class
---
src/main/resources/pmd/pmd-ruleset.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index 3c53626..752da8a 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -92,7 +92,7 @@
<property name="violationSuppressXPath"
value="//ClassOrInterfaceDeclaration[@SimpleName='ListSampler' or @SimpleName='ProviderBuilder'
or @SimpleName='ThreadLocalRandomSource' or @SimpleName='SeedFactory'
- or @SimpleName='Coordinates']"/>
+ or @SimpleName='Coordinates' or @SimpleName='Hex']"/>
<!-- Allow samplers to have only factory constructors -->
<property name="utilityClassPattern" value="[A-Z][a-zA-Z0-9]+(Utils?|Helper|Sampler)" />
</properties>