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\