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-numbers.git

commit 60c4035753957c030294f19c417d577bf25db8ed
Author: Alex Herbert <[email protected]>
AuthorDate: Fri Nov 8 23:54:28 2019 +0000

    Add note to PMD rules to fix the ShortMethodName rule.
---
 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 23ff6a8..1913f1c 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -69,7 +69,7 @@
 
   <rule ref="category/java/codestyle.xml/ShortMethodName">
     <properties>
-      <!-- Allow classes to have factory constructor method 'of' -->
+      <!-- TODO: Current regex effectively disables this rule. -->
       <property name="violationSuppressXPath" 
value="//ClassOrInterfaceDeclaration[matches(@Image, '^.*$')]"/>
     </properties>
   </rule>

Reply via email to