You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/11/09 01:05:35 UTC

svn commit: r1814684 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java

Author: ggregory
Date: Thu Nov  9 01:05:34 2017
New Revision: 1814684

URL: http://svn.apache.org/viewvc?rev=1814684&view=rev
Log:
Remove obsolete Javadoc comments since this version of Commons Codec no longer runs on Java versions older than 1.4.0.

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

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java?rev=1814684&r1=1814683&r2=1814684&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java Thu Nov  9 01:05:34 2017
@@ -205,9 +205,6 @@ public class DigestUtils {
 
     /**
      * Returns an SHA-256 digest.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @return An SHA-256 digest instance.
      * @throws IllegalArgumentException
@@ -221,9 +218,6 @@ public class DigestUtils {
 
     /**
      * Returns an SHA-384 digest.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @return An SHA-384 digest instance.
      * @throws IllegalArgumentException
@@ -237,9 +231,6 @@ public class DigestUtils {
 
     /**
      * Returns an SHA-512 digest.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @return An SHA-512 digest instance.
      * @throws IllegalArgumentException
@@ -531,9 +522,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -546,9 +534,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -563,9 +548,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest; converted to bytes using {@link StringUtils#getBytesUtf8(String)}
@@ -578,9 +560,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -593,9 +572,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -610,9 +586,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-256 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -625,9 +598,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -640,9 +610,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -657,9 +624,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest; converted to bytes using {@link StringUtils#getBytesUtf8(String)}
@@ -672,9 +636,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -687,9 +648,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -704,9 +662,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-384 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -719,9 +674,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -734,9 +686,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -751,9 +700,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a <code>byte[]</code>.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest; converted to bytes using {@link StringUtils#getBytesUtf8(String)}
@@ -766,9 +712,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -781,9 +724,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest
@@ -798,9 +738,6 @@ public class DigestUtils {
 
     /**
      * Calculates the SHA-512 digest and returns the value as a hex string.
-     * <p>
-     * Throws a <code>RuntimeException</code> on JRE versions prior to 1.4.0.
-     * </p>
      *
      * @param data
      *            Data to digest