Skip to content

Commit 3ac04a8

Browse files
committed
Update Javadoc links from Java 6 to 8
1 parent 8398c1a commit 3ac04a8

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/main/java/org/apache/commons/codec/Charsets.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* Charsets required of every implementation of the Java platform.
2424
*
25-
* From the Java documentation <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard
25+
* From the Java documentation <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard
2626
* charsets</a>:
2727
* <p>
2828
* <cite>Every implementation of the Java platform is required to support the following character encodings. Consult the
@@ -53,7 +53,7 @@
5353
* This class is immutable and thread-safe.
5454
* </p>
5555
*
56-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
56+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5757
* @since 1.7
5858
*/
5959
public class Charsets {
@@ -69,7 +69,7 @@ public class Charsets {
6969
* Every implementation of the Java platform is required to support this character encoding.
7070
* </p>
7171
*
72-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
72+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7373
* @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
7474
*/
7575
@Deprecated
@@ -81,7 +81,7 @@ public class Charsets {
8181
* Every implementation of the Java platform is required to support this character encoding.
8282
* </p>
8383
*
84-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
84+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
8585
* @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} instead.
8686
*/
8787
@Deprecated
@@ -94,7 +94,7 @@ public class Charsets {
9494
* Every implementation of the Java platform is required to support this character encoding.
9595
* </p>
9696
*
97-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
97+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
9898
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} instead.
9999
*/
100100
@Deprecated
@@ -106,7 +106,7 @@ public class Charsets {
106106
* Every implementation of the Java platform is required to support this character encoding.
107107
* </p>
108108
*
109-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
109+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
110110
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} instead.
111111
*/
112112
@Deprecated
@@ -118,7 +118,7 @@ public class Charsets {
118118
* Every implementation of the Java platform is required to support this character encoding.
119119
* </p>
120120
*
121-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
121+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
122122
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} instead.
123123
*/
124124
@Deprecated
@@ -130,7 +130,7 @@ public class Charsets {
130130
* Every implementation of the Java platform is required to support this character encoding.
131131
* </p>
132132
*
133-
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
133+
* @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
134134
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
135135
*/
136136
@Deprecated

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static byte[] digest(final MessageDigest messageDigest, final RandomAcces
143143
* Gets a {@code MessageDigest} for the given {@code algorithm}.
144144
*
145145
* @param algorithm the name of the algorithm requested. See
146-
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">Appendix A in the Java
146+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">Appendix A in the Java
147147
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
148148
* @return A digest instance.
149149
* @see MessageDigest#getInstance(String)
@@ -161,7 +161,7 @@ public static MessageDigest getDigest(final String algorithm) {
161161
* Gets a {@code MessageDigest} for the given {@code algorithm} or a default if there is a problem getting the algorithm.
162162
*
163163
* @param algorithm the name of the algorithm requested. See
164-
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"> Appendix A in the Java
164+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"> Appendix A in the Java
165165
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
166166
* @param defaultMessageDigest The default MessageDigest.
167167
* @return A digest instance.
@@ -204,7 +204,7 @@ public static MessageDigest getMd5Digest() {
204204
* Gets a {@code MessageDigest} for the given {@code algorithm}.
205205
*
206206
* @param algorithm the name of the algorithm requested. See
207-
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"> Appendix A in the Java
207+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"> Appendix A in the Java
208208
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
209209
* @return A digest instance.
210210
* @see MessageDigest#getInstance(String)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public static Mac getHmacSha512(final byte[] key) {
154154
* Returns an initialized {@code Mac} for the given {@code algorithm}.
155155
*
156156
* @param algorithm the name of the algorithm requested. See
157-
* <a href= "https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
157+
* <a href= "https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
158158
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
159159
* @param key The key for the keyed digest (must not be null).
160160
* @return A Mac instance initialized with the given key.
@@ -170,7 +170,7 @@ public static Mac getInitializedMac(final HmacAlgorithms algorithm, final byte[]
170170
* Returns an initialized {@code Mac} for the given {@code algorithm}.
171171
*
172172
* @param algorithm the name of the algorithm requested. See
173-
* <a href= "https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
173+
* <a href= "https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
174174
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
175175
* @param key The key for the keyed digest (must not be null).
176176
* @return A Mac instance initialized with the given key.

src/main/javadoc/overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ <h1><img src="org/apache/commons/codec/doc-files/leaf.svg" style="height: 1em; p
104104
</tr>
105105
<tr>
106106
<td><a href="org/apache/commons/codec/digest/DigestUtils.html">DigestUtils</a></td>
107-
<td>Simplifies common <a href="https://docs.oracle.com/javase/6/docs/api/java/security/MessageDigest.html">MessageDigest</a> tasks and provides GNU
107+
<td>Simplifies common <a href="https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html">MessageDigest</a> tasks and provides GNU
108108
libc crypt(3) compatible password hashing functions.
109109
</td>
110110
</tr>
111111
<tr>
112112
<td><a href="org/apache/commons/codec/digest/HmacUtils.html">HmacUtils</a></td>
113-
<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
113+
<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
114114
implementations support all algorithms. If not supported, an IllegalArgumentException is thrown.
115115
</td>
116116
</tr>

0 commit comments

Comments
 (0)