You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2017/04/02 20:56:24 UTC

svn commit: r1789912 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java

Author: sebb
Date: Sun Apr  2 20:56:24 2017
New Revision: 1789912

URL: http://svn.apache.org/viewvc?rev=1789912&view=rev
Log:
Indentation

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=1789912&r1=1789911&r2=1789912&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 Sun Apr  2 20:56:24 2017
@@ -413,17 +413,17 @@ public class DigestUtils {
     }
 
     /**
- * Calculates the SHA-1 digest and returns the value as a <code>byte[]</code>.
- *
- * @param data
- *            Data to digest
- * @return SHA-1 digest
- * @deprecated (1.11) Use {@link #sha1(byte[])}
- */
-@Deprecated
-public static byte[] sha(final byte[] data) {
-    return sha1(data);
-}
+     * Calculates the SHA-1 digest and returns the value as a <code>byte[]</code>.
+     *
+     * @param data
+     *            Data to digest
+     * @return SHA-1 digest
+     * @deprecated (1.11) Use {@link #sha1(byte[])}
+     */
+    @Deprecated
+    public static byte[] sha(final byte[] data) {
+        return sha1(data);
+    }
 
     /**
      * Calculates the SHA-1 digest and returns the value as a <code>byte[]</code>.