commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1745141 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
Date Mon, 23 May 2016 11:17:31 GMT
Author: sebb
Date: Mon May 23 11:17:31 2016
New Revision: 1745141

URL: http://svn.apache.org/viewvc?rev=1745141&view=rev
Log:
Javadoc

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java?rev=1745141&r1=1745140&r2=1745141&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
Mon May 23 11:17:31 2016
@@ -961,7 +961,12 @@ public static byte[] sha(final byte[] da
 
     private final MessageDigest messageDigest;
 
-    // public to maintain binary compatibility
+   /**
+    * Preserves binary compatibity only.
+    * As for previous versions does not provide useful behaviour
+    * @deprecated since 1.11; only useful to preserve binary compatibility
+    */
+   @Deprecated
     public DigestUtils() {
         this.messageDigest = null;
     }



Mime
View raw message