commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1744340 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
Date Wed, 18 May 2016 01:51:15 GMT
Author: ggregory
Date: Wed May 18 01:51:15 2016
New Revision: 1744340

URL: http://svn.apache.org/viewvc?rev=1744340&view=rev
Log:
Sort.

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

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java?rev=1744340&r1=1744339&r2=1744340&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
Wed May 18 01:51:15 2016
@@ -35,10 +35,6 @@ import java.security.MessageDigest;
 //@Deprecated
 public class MessageDigestAlgorithms {
 
-    private MessageDigestAlgorithms() {
-        // cannot be instantiated.
-    }
-
     /**
      * The MD2 message digest algorithm defined in RFC 1319.
      */
@@ -54,6 +50,8 @@ public class MessageDigestAlgorithms {
      */
     public static final String SHA_1 = "SHA-1";
 
+    public static final String SHA_224 = "SHA_224";
+
     /**
      * The SHA-256 hash algorithm defined in the FIPS PUB 180-2.
      */
@@ -69,11 +67,13 @@ public class MessageDigestAlgorithms {
      */
     public static final String SHA_512 = "SHA-512";
 
-    public static final String SHA_224 = "SHA_224";
-
     public static String[] values() {
         return new String[]{
             MD2, MD5, SHA_1, SHA_224, SHA_256, SHA_384, SHA_512};
     }
 
+    private MessageDigestAlgorithms() {
+        // cannot be instantiated.
+    }
+
 }



Mime
View raw message