This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push:
new 3ac04a8a Update Javadoc links from Java 6 to 8
3ac04a8a is described below
commit 3ac04a8a9aceb9d891e0a23a6f000a7f96790a24
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jan 8 11:09:50 2026 -0500
Update Javadoc links from Java 6 to 8
---
src/main/java/org/apache/commons/codec/Charsets.java | 16 ++++++++--------
.../org/apache/commons/codec/digest/DigestUtils.java | 6 +++---
.../java/org/apache/commons/codec/digest/HmacUtils.java | 4 ++--
src/main/javadoc/overview.html | 4 ++--
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/Charsets.java
b/src/main/java/org/apache/commons/codec/Charsets.java
index b2c26e6d..479faa90 100644
--- a/src/main/java/org/apache/commons/codec/Charsets.java
+++ b/src/main/java/org/apache/commons/codec/Charsets.java
@@ -22,7 +22,7 @@ import java.nio.charset.StandardCharsets;
/**
* Charsets required of every implementation of the Java platform.
*
- * From the Java documentation <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
+ * From the Java documentation <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
* charsets</a>:
* <p>
* <cite>Every implementation of the Java platform is required to support the
following character encodings. Consult the
@@ -53,7 +53,7 @@ import java.nio.charset.StandardCharsets;
* This class is immutable and thread-safe.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @since 1.7
*/
public class Charsets {
@@ -69,7 +69,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1}
instead.
*/
@Deprecated
@@ -81,7 +81,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII}
instead.
*/
@Deprecated
@@ -94,7 +94,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16}
instead.
*/
@Deprecated
@@ -106,7 +106,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE}
instead.
*/
@Deprecated
@@ -118,7 +118,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE}
instead.
*/
@Deprecated
@@ -130,7 +130,7 @@ public class Charsets {
* Every implementation of the Java platform is required to support this
character encoding.
* </p>
*
- * @see <a
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
+ * @see <a
href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
charsets</a>
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
*/
@Deprecated
diff --git a/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
b/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
index 36a258bc..786cc4e5 100644
--- a/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
+++ b/src/main/java/org/apache/commons/codec/digest/DigestUtils.java
@@ -143,7 +143,7 @@ public class DigestUtils {
* Gets a {@code MessageDigest} for the given {@code algorithm}.
*
* @param algorithm the name of the algorithm requested. See
- * <a
href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">Appendix
A in the Java
+ * <a
href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">Appendix
A in the Java
* Cryptography Architecture Reference Guide</a> for
information about standard algorithm names.
* @return A digest instance.
* @see MessageDigest#getInstance(String)
@@ -161,7 +161,7 @@ public class DigestUtils {
* Gets a {@code MessageDigest} for the given {@code algorithm} or a
default if there is a problem getting the algorithm.
*
* @param algorithm the name of the algorithm requested. See
- * <a
href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">
Appendix A in the Java
+ * <a
href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">
Appendix A in the Java
* Cryptography Architecture Reference
Guide</a> for information about standard algorithm names.
* @param defaultMessageDigest The default MessageDigest.
* @return A digest instance.
@@ -204,7 +204,7 @@ public class DigestUtils {
* Gets a {@code MessageDigest} for the given {@code algorithm}.
*
* @param algorithm the name of the algorithm requested. See
- * <a
href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">
Appendix A in the Java
+ * <a
href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">
Appendix A in the Java
* Cryptography Architecture Reference Guide</a> for
information about standard algorithm names.
* @return A digest instance.
* @see MessageDigest#getInstance(String)
diff --git a/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
b/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
index b3bd66ee..9624ecc4 100644
--- a/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
+++ b/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
@@ -154,7 +154,7 @@ public final class HmacUtils {
* Returns an initialized {@code Mac} for the given {@code algorithm}.
*
* @param algorithm the name of the algorithm requested. See
- * <a href=
"https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
>Appendix A in the Java
+ * <a href=
"https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
>Appendix A in the Java
* Cryptography Architecture Reference Guide</a> for
information about standard algorithm names.
* @param key The key for the keyed digest (must not be null).
* @return A Mac instance initialized with the given key.
@@ -170,7 +170,7 @@ public final class HmacUtils {
* Returns an initialized {@code Mac} for the given {@code algorithm}.
*
* @param algorithm the name of the algorithm requested. See
- * <a href=
"https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
>Appendix A in the Java
+ * <a href=
"https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
>Appendix A in the Java
* Cryptography Architecture Reference Guide</a> for
information about standard algorithm names.
* @param key The key for the keyed digest (must not be null).
* @return A Mac instance initialized with the given key.
diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html
index 45290784..98caf2e8 100644
--- a/src/main/javadoc/overview.html
+++ b/src/main/javadoc/overview.html
@@ -104,13 +104,13 @@
</tr>
<tr>
<td><a
href="org/apache/commons/codec/digest/DigestUtils.html">DigestUtils</a></td>
- <td>Simplifies common <a
href="https://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html">MessageDigest</a>
tasks and provides GNU
+ <td>Simplifies common <a
href="https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html">MessageDigest</a>
tasks and provides GNU
libc crypt(3) compatible password hashing functions.
</td>
</tr>
<tr>
<td><a
href="org/apache/commons/codec/digest/HmacUtils.html">HmacUtils</a></td>
- <td>Simplifies common <a
href="https://docs.oracle.com/javase/6/docs/api/javax/crypto/Mac.html">Mac</a>
tasks. <strong>Note:</strong> Not all JCE
+ <td>Simplifies common <a
href="https://docs.oracle.com/javase/8/docs/api/javax/crypto/Mac.html">Mac</a>
tasks. <strong>Note:</strong> Not all JCE
implementations support all algorithms. If not supported, an
IllegalArgumentException is thrown.
</td>
</tr>