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

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

commit bf1a8ea27836166df96f12f5210301d12a1def64
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Aug 26 16:39:03 2022 -0400

    Account for Bug in PMD when the same class name exists in different
    packages
---
 src/conf/exclude-pmd.properties | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/conf/exclude-pmd.properties b/src/conf/exclude-pmd.properties
index 955182b35..73c6f9f0b 100644
--- a/src/conf/exclude-pmd.properties
+++ b/src/conf/exclude-pmd.properties
@@ -14,8 +14,12 @@
 # limitations under the License.
 
 # We have ThreadGroup utilities
-org.apache.commons.lang3.ThreadUtils=AvoidThreadGroup
+org.apache.commons.lang3.ThreadUtils = AvoidThreadGroup
 
 # TODO?
 # violation beginline="2900" endline="2900" begincolumn="13" endcolumn="21" 
rule="AvoidBranchingStatementAsLastInLoop" ruleset="Error Prone" 
package="org.apache.commons.lang3" class="StringUtils" method="indexOfAnyBut"
-org.apache.commons.lang3.StringUtils=AvoidBranchingStatementAsLastInLoop
+org.apache.commons.lang3.StringUtils = AvoidBranchingStatementAsLastInLoop
+
+# Bug in PMD when the same class name exists in different packages
+# Unnecessary use of fully qualified name 
'org.apache.commons.lang3.function.FailableRunnable' due to existing same 
package import 'org.apache.commons.lang3.*'
+org.apache.commons.lang3.Functions = UnnecessaryFullyQualifiedName\

Reply via email to