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 16ecff08733c1f5fc442993bba5cdea48dae328a
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Jan 25 12:02:30 2024 -0500

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

diff --git a/src/main/java/org/apache/commons/codec/digest/Crypt.java 
b/src/main/java/org/apache/commons/codec/digest/Crypt.java
index 04336bbc..cb1f1f32 100644
--- a/src/main/java/org/apache/commons/codec/digest/Crypt.java
+++ b/src/main/java/org/apache/commons/codec/digest/Crypt.java
@@ -170,4 +170,14 @@ public class Crypt {
     public static String crypt(final String key, final String salt) {
         return crypt(key.getBytes(StandardCharsets.UTF_8), salt);
     }
+
+    /**
+     * TODO Make private in 2.0.
+     *
+     * @deprecated TODO Make private in 2.0.
+     */
+    @Deprecated
+    public Crypt() {
+        // empty
+    }
 }

Reply via email to