Skip to content

Commit d40adeb

Browse files
committed
When deprecated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1789540 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5ccd7e9 commit d40adeb

2 files changed

Lines changed: 42 additions & 42 deletions

File tree

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public static MessageDigest getSha512Digest() {
257257
* @return An SHA-1 digest instance.
258258
* @throws IllegalArgumentException
259259
* when a {@link NoSuchAlgorithmException} is caught
260-
* @deprecated Use {@link #getSha1Digest()}
260+
* @deprecated (1.11) Use {@link #getSha1Digest()}
261261
*/
262262
@Deprecated
263263
public static MessageDigest getShaDigest() {
@@ -418,7 +418,7 @@ public static String md5Hex(final String data) {
418418
* @param data
419419
* Data to digest
420420
* @return SHA-1 digest
421-
* @deprecated Use {@link #sha1(byte[])}
421+
* @deprecated (1.11) Use {@link #sha1(byte[])}
422422
*/
423423
@Deprecated
424424
public static byte[] sha(final byte[] data) {
@@ -434,7 +434,7 @@ public static byte[] sha(final byte[] data) {
434434
* @throws IOException
435435
* On error reading from the stream
436436
* @since 1.4
437-
* @deprecated Use {@link #sha1(InputStream)}
437+
* @deprecated (1.11) Use {@link #sha1(InputStream)}
438438
*/
439439
@Deprecated
440440
public static byte[] sha(final InputStream data) throws IOException {
@@ -447,7 +447,7 @@ public static byte[] sha(final InputStream data) throws IOException {
447447
* @param data
448448
* Data to digest
449449
* @return SHA-1 digest
450-
* @deprecated Use {@link #sha1(String)}
450+
* @deprecated (1.11) Use {@link #sha1(String)}
451451
*/
452452
@Deprecated
453453
public static byte[] sha(final String data) {
@@ -817,7 +817,7 @@ public static String sha512Hex(final String data) {
817817
* @param data
818818
* Data to digest
819819
* @return SHA-1 digest as a hex string
820-
* @deprecated Use {@link #sha1Hex(byte[])}
820+
* @deprecated (1.11) Use {@link #sha1Hex(byte[])}
821821
*/
822822
@Deprecated
823823
public static String shaHex(final byte[] data) {
@@ -833,7 +833,7 @@ public static String shaHex(final byte[] data) {
833833
* @throws IOException
834834
* On error reading from the stream
835835
* @since 1.4
836-
* @deprecated Use {@link #sha1Hex(InputStream)}
836+
* @deprecated (1.11) Use {@link #sha1Hex(InputStream)}
837837
*/
838838
@Deprecated
839839
public static String shaHex(final InputStream data) throws IOException {
@@ -846,7 +846,7 @@ public static String shaHex(final InputStream data) throws IOException {
846846
* @param data
847847
* Data to digest
848848
* @return SHA-1 digest as a hex string
849-
* @deprecated Use {@link #sha1Hex(String)}
849+
* @deprecated (1.11) Use {@link #sha1Hex(String)}
850850
*/
851851
@Deprecated
852852
public static String shaHex(final String data) {

0 commit comments

Comments
 (0)