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 6a7ce94ac7b4a3e1c612c2e7e05b3f750c9441db Author: aherbert <[email protected]> AuthorDate: Mon Dec 9 15:46:58 2019 +0000 PMD: Ignore field real and method real() match in Complex. --- src/main/resources/pmd/pmd-ruleset.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml index b48a3b4..2b800bb 100644 --- a/src/main/resources/pmd/pmd-ruleset.xml +++ b/src/main/resources/pmd/pmd-ruleset.xml @@ -124,4 +124,11 @@ </properties> </rule> + <rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName"> + <properties> + <property name="violationSuppressXPath" + value="//ClassOrInterfaceDeclaration[@Image='Complex']"/> + </properties> + </rule> + </ruleset>
