Skip to content

Commit a6130f9

Browse files
committed
Sort.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1744340 13f79535-47bb-0310-9956-ffa450edef68
1 parent f9778af commit a6130f9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
//@Deprecated
3636
public class MessageDigestAlgorithms {
3737

38-
private MessageDigestAlgorithms() {
39-
// cannot be instantiated.
40-
}
41-
4238
/**
4339
* The MD2 message digest algorithm defined in RFC 1319.
4440
*/
@@ -54,6 +50,8 @@ private MessageDigestAlgorithms() {
5450
*/
5551
public static final String SHA_1 = "SHA-1";
5652

53+
public static final String SHA_224 = "SHA_224";
54+
5755
/**
5856
* The SHA-256 hash algorithm defined in the FIPS PUB 180-2.
5957
*/
@@ -69,11 +67,13 @@ private MessageDigestAlgorithms() {
6967
*/
7068
public static final String SHA_512 = "SHA-512";
7169

72-
public static final String SHA_224 = "SHA_224";
73-
7470
public static String[] values() {
7571
return new String[]{
7672
MD2, MD5, SHA_1, SHA_224, SHA_256, SHA_384, SHA_512};
7773
}
7874

75+
private MessageDigestAlgorithms() {
76+
// cannot be instantiated.
77+
}
78+
7979
}

0 commit comments

Comments
 (0)