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

commit 1d718d8515091f49fe9c092455b17bacf3085809
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jul 18 21:51:03 2025 -0400

    Fix PMD UnnecessaryFullyQualifiedName in
    org.apache.commons.codec.digest.Md5Crypt
---
 src/changes/changes.xml                                     | 1 +
 src/main/java/org/apache/commons/codec/digest/Md5Crypt.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e20526ca..e37ff1e8 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -61,6 +61,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD multiple 
UnnecessaryFullyQualifiedName in 
org.apache.commons.codec.binary.StringUtils.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
UnusedFormalParameter in private constructor in 
org.apache.commons.codec.binary.Base16.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD multiple 
UnnecessaryFullyQualifiedName in 
org.apache.commons.codec.digest.Blake3.</action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
UnnecessaryFullyQualifiedName in 
org.apache.commons.codec.digest.Md5Crypt.</action>
       <!-- ADD -->
       <action type="add" dev="ggregory" due-to="Gary Gregory">Add 
HmacUtils.hmac(Path).</action>      
       <action type="add" dev="ggregory" due-to="Gary Gregory">Add 
HmacUtils.hmacHex(Path).</action>      
diff --git a/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java 
b/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
index bf075564..f1c055eb 100644
--- a/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
+++ b/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
@@ -120,7 +120,7 @@ public class Md5Crypt {
         if (salt != null && !salt.startsWith(APR1_PREFIX)) {
             salt = APR1_PREFIX + salt;
         }
-        return Md5Crypt.md5Crypt(keyBytes, salt, APR1_PREFIX);
+        return md5Crypt(keyBytes, salt, APR1_PREFIX);
     }
 
     /**

Reply via email to