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 2024/01/25 20:27:00 UTC

(commons-codec) 07/09: Deprecate Md5Crypt 0-argument constructor

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 cc5caccfbab3d3af2e107899dde50a417367c0d9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 25 12:03:47 2024 -0500

    Deprecate Md5Crypt 0-argument constructor
---
 src/main/java/org/apache/commons/codec/digest/Md5Crypt.java | 10 ++++++++++
 1 file changed, 10 insertions(+)

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 6a365e03..05c6a6ce 100644
--- a/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
+++ b/src/main/java/org/apache/commons/codec/digest/Md5Crypt.java
@@ -395,4 +395,14 @@ public class Md5Crypt {
 
         return passwd.toString();
     }
+
+    /**
+     * TODO Make private in 2.0.
+     *
+     * @deprecated TODO Make private in 2.0.
+     */
+    @Deprecated
+    public Md5Crypt() {
+        // empty
+    }
 }