From 2cc6155dec638efcbb91b97c3ecd62c4d61d2aa3 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 8 Nov 2009 14:27:47 +0000 Subject: [PATCH] JavaDoc --- .../org/springframework/util/DigestUtils.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/org.springframework.core/src/main/java/org/springframework/util/DigestUtils.java b/org.springframework.core/src/main/java/org/springframework/util/DigestUtils.java index fc04b83902b..200c73b7e6d 100644 --- a/org.springframework.core/src/main/java/org/springframework/util/DigestUtils.java +++ b/org.springframework.core/src/main/java/org/springframework/util/DigestUtils.java @@ -20,11 +20,10 @@ import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** - * Miscellaneous method for calculating digests. - + * Miscellaneous methods for calculating digests. *

Mainly for internal use within the framework; consider - * Jakarta's Commons Codec - * for a more comprehensive suite of Digest utilities. + * Apache Commons Codec for a + * more comprehensive suite of digest utilities. * * @author Arjen Poutsma * @since 3.0 @@ -47,7 +46,8 @@ public abstract class DigestUtils { } /** - * Return a hexadecimal string representation of the MD5 digest of the given bytes. + * Return a hexadecimal string representation of the MD5 digest of the given + * bytes. * @param bytes the bytes to calculate the digest over * @return a hexadecimal digest string */ @@ -56,7 +56,8 @@ public abstract class DigestUtils { } /** - * Append a hexadecima string representation of the MD5 digest of the given bytes to the given {@link StringBuilder}. + * Append a hexadecimal string representation of the MD5 digest of the given + * bytes to the given {@link StringBuilder}. * @param bytes the bytes to calculate the digest over * @param builder the string builder to append the digest to * @return the given string builder @@ -66,8 +67,8 @@ public abstract class DigestUtils { } /** - * Creates a new {@link MessageDigest} with the given algorithm. Necessary because {@code MessageDigest} is not - * thread-safe. + * Creates a new {@link MessageDigest} with the given algorithm. Necessary + * because {@code MessageDigest} is not thread-safe. */ private static MessageDigest getDigest(String algorithm) { try { @@ -107,5 +108,4 @@ public abstract class DigestUtils { return chars; } - }