You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/08/26 20:39:09 UTC

[commons-lang] branch master updated (c90ba2fca -> bf1a8ea27)

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

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


    from c90ba2fca Sort members
     new 18937b23d Javadoc
     new bf1a8ea27 Account for Bug in PMD when the same class name exists in different packages

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/conf/exclude-pmd.properties                                   | 8 ++++++--
 .../java/org/apache/commons/lang3/builder/HashCodeBuilder.java    | 5 +++++
 2 files changed, 11 insertions(+), 2 deletions(-)


[commons-lang] 01/02: Javadoc

Posted by gg...@apache.org.
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 18937b23dc0c706dadd9b0c99f1b0592643abea8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 26 16:38:49 2022 -0400

    Javadoc
---
 src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
index cc67e86aa..0dedad315 100644
--- a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
+++ b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
@@ -893,6 +893,11 @@ public class HashCodeBuilder implements Builder<Integer> {
         return Integer.valueOf(toHashCode());
     }
 
+    /**
+     * Implements equals with iTotal.
+     *
+     * @since 3.13.0
+     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {


[commons-lang] 02/02: Account for Bug in PMD when the same class name exists in different packages

Posted by gg...@apache.org.
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 <ga...@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\