commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1744742 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest: DigestUtils.java HmacUtils.java
Date Fri, 20 May 2016 13:51:10 GMT
Author: sebb
Date: Fri May 20 13:51:10 2016
New Revision: 1744742

URL: http://svn.apache.org/viewvc?rev=1744742&view=rev
Log:
Restore BC

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.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=1744742&r1=1744741&r2=1744742&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
Fri May 20 13:51:10 2016
@@ -963,7 +963,8 @@ public static byte[] sha(final byte[] da
 
     private final MessageDigest messageDigest;
 
-    private DigestUtils() {
+    // public to maintain binary compatibility
+    public DigestUtils() {
         this.messageDigest = null;
     }
 

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java?rev=1744742&r1=1744741&r2=1744742&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
Fri May 20 13:51:10 2016
@@ -854,7 +854,8 @@ public final class HmacUtils {
         return mac;
     }
 
-    private HmacUtils() {
+    // public to maintain binary compatibility
+    public HmacUtils() {
         this(null);
     }
 



Mime
View raw message