Skip to content

Commit f9778af

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

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ public static String hmacSha512Hex(final String key, final String valueToDigest)
772772
// update
773773

774774
/**
775-
* Updates the given {@link Mac}. This generates a digest for valueToDigest and the key the Mac was initialized
775+
* Updates the given {@link Mac} with the value.
776776
*
777777
* @param mac
778778
* the initialized {@link Mac} to update
@@ -781,7 +781,6 @@ public static String hmacSha512Hex(final String key, final String valueToDigest)
781781
* @return the updated {@link Mac}
782782
* @throws IllegalStateException
783783
* if the Mac was not initialized
784-
* @since 1.x
785784
*/
786785
public static Mac updateHmac(final Mac mac, final byte[] valueToDigest) {
787786
mac.reset();
@@ -790,7 +789,7 @@ public static Mac updateHmac(final Mac mac, final byte[] valueToDigest) {
790789
}
791790

792791
/**
793-
* Updates the given {@link Mac}. This generates a digest for valueToDigest and the key the Mac was initialized
792+
* Updates the given {@link Mac} with the value.
794793
*
795794
* @param mac
796795
* the initialized {@link Mac} to update
@@ -804,7 +803,6 @@ public static Mac updateHmac(final Mac mac, final byte[] valueToDigest) {
804803
* If an I/O error occurs.
805804
* @throws IllegalStateException
806805
* If the Mac was not initialized
807-
* @since 1.x
808806
*/
809807
public static Mac updateHmac(final Mac mac, final InputStream valueToDigest) throws IOException {
810808
mac.reset();
@@ -820,7 +818,7 @@ public static Mac updateHmac(final Mac mac, final InputStream valueToDigest) thr
820818
}
821819

822820
/**
823-
* Updates the given {@link Mac}. This generates a digest for valueToDigest and the key the Mac was initialized
821+
* Updates the given {@link Mac} with the value.
824822
*
825823
* @param mac
826824
* the initialized {@link Mac} to update
@@ -829,7 +827,6 @@ public static Mac updateHmac(final Mac mac, final InputStream valueToDigest) thr
829827
* @return the updated {@link Mac}
830828
* @throws IllegalStateException
831829
* if the Mac was not initialized
832-
* @since 1.x
833830
*/
834831
public static Mac updateHmac(final Mac mac, final String valueToDigest) {
835832
mac.reset();

0 commit comments

Comments
 (0)