Skip to content

Commit 59898cf

Browse files
committed
Javadoc: Use an HTTPS URL
1 parent 0c4b50b commit 59898cf

24 files changed

Lines changed: 53 additions & 53 deletions

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="http://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/6/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="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
56+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
5757
* @since 1.7
5858
*/
5959
public class Charsets {
@@ -70,7 +70,7 @@ public class Charsets {
7070
* </p>
7171
*
7272
* @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
73-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
73+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
7474
*/
7575
@Deprecated
7676
public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
@@ -82,7 +82,7 @@ public class Charsets {
8282
* </p>
8383
*
8484
* @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} instead.
85-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
85+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
8686
*/
8787
@Deprecated
8888
public static final Charset US_ASCII = StandardCharsets.US_ASCII;
@@ -95,7 +95,7 @@ public class Charsets {
9595
* </p>
9696
*
9797
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} instead.
98-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
98+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
9999
*/
100100
@Deprecated
101101
public static final Charset UTF_16 = StandardCharsets.UTF_16;
@@ -107,7 +107,7 @@ public class Charsets {
107107
* </p>
108108
*
109109
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} instead.
110-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
110+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
111111
*/
112112
@Deprecated
113113
public static final Charset UTF_16BE = StandardCharsets.UTF_16BE;
@@ -119,7 +119,7 @@ public class Charsets {
119119
* </p>
120120
*
121121
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} instead.
122-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
122+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
123123
*/
124124
@Deprecated
125125
public static final Charset UTF_16LE = StandardCharsets.UTF_16LE;
@@ -131,7 +131,7 @@ public class Charsets {
131131
* </p>
132132
*
133133
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
134-
* @see <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
134+
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
135135
*/
136136
@Deprecated
137137
public static final Charset UTF_8 = StandardCharsets.UTF_8;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class DecoderException extends Exception {
2626
/**
2727
* Declares the Serial Version Uid.
2828
*
29-
* @see <a href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always Declare Serial Version Uid</a>
29+
* @see <a href="https://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always Declare Serial Version Uid</a>
3030
*/
3131
private static final long serialVersionUID = 1L;
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class EncoderException extends Exception {
2727
/**
2828
* Declares the Serial Version Uid.
2929
*
30-
* @see <a href="http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always Declare Serial Version Uid</a>
30+
* @see <a href="https://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid">Always Declare Serial Version Uid</a>
3131
*/
3232
private static final long serialVersionUID = 1L;
3333

src/main/java/org/apache/commons/codec/binary/Base64.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class Base64 extends BaseNCodec {
6969
* equivalents as specified in Table 1 of RFC 2045.
7070
* <p>
7171
* Thanks to "commons" project in ws.apache.org for this code.
72-
* http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
72+
* https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
7373
* </p>
7474
*/
7575
private static final byte[] STANDARD_ENCODE_TABLE = {
@@ -103,7 +103,7 @@ public class Base64 extends BaseNCodec {
103103
* </p>
104104
* <p>
105105
* Thanks to "commons" project in ws.apache.org for this code.
106-
* http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
106+
* https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
107107
* </p>
108108
*/
109109
private static final byte[] DECODE_TABLE = {
@@ -627,7 +627,7 @@ public Base64(final int lineLength, final byte[] lineSeparator, final boolean ur
627627
* </p>
628628
* <p>
629629
* Thanks to "commons" project in ws.apache.org for the bitwise operations, and general approach.
630-
* http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
630+
* https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
631631
* </p>
632632
*
633633
* @param input
@@ -708,7 +708,7 @@ void decode(final byte[] input, int inPos, final int inAvail, final Context cont
708708
* <p><b>Note: no padding is added when encoding using the URL-safe alphabet.</b></p>
709709
* <p>
710710
* Thanks to "commons" project in ws.apache.org for the bitwise operations, and general approach.
711-
* http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
711+
* https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/
712712
* </p>
713713
*
714714
* @param in

src/main/java/org/apache/commons/codec/binary/BaseNCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public String toString() {
146146
* equal signs.
147147
* </p>
148148
*
149-
* @see <a href="http://tools.ietf.org/html/rfc1421">RFC 1421 section 4.3.2.4</a>
149+
* @see <a href="https://tools.ietf.org/html/rfc1421">RFC 1421 section 4.3.2.4</a>
150150
*/
151151
public static final int PEM_CHUNK_SIZE = 64;
152152

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static byte[] digest(final MessageDigest messageDigest, final RandomAcces
145145
* Gets a {@code MessageDigest} for the given {@code algorithm}.
146146
*
147147
* @param algorithm the name of the algorithm requested. See
148-
* <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
148+
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" >Appendix A in the Java
149149
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
150150
* @return A digest instance.
151151
* @see MessageDigest#getInstance(String)
@@ -163,7 +163,7 @@ public static MessageDigest getDigest(final String algorithm) {
163163
* Gets a {@code MessageDigest} for the given {@code algorithm} or a default if there is a problem getting the algorithm.
164164
*
165165
* @param algorithm the name of the algorithm requested. See
166-
* <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" > Appendix A in the Java
166+
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" > Appendix A in the Java
167167
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
168168
* @param defaultMessageDigest The default MessageDigest.
169169
* @return A digest instance.
@@ -206,7 +206,7 @@ public static MessageDigest getMd5Digest() {
206206
* Gets a {@code MessageDigest} for the given {@code algorithm}.
207207
*
208208
* @param algorithm the name of the algorithm requested. See
209-
* <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" > Appendix A in the Java
209+
* <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA" > Appendix A in the Java
210210
* Cryptography Architecture Reference Guide</a> for information about standard algorithm names.
211211
* @return A digest instance.
212212
* @see MessageDigest#getInstance(String)

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* <strong>Note: Not all JCE implementations support all the algorithms in this enum.</strong>
2626
* </p>
2727
*
28-
* @see <a href="http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SunJCEProvider"> Java
28+
* @see <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SunJCEProvider"> Java
2929
* 8 Cryptography Architecture Sun Providers Documentation</a>
3030
* @see <a href=
3131
* "https://docs.oracle.com/en/java/javase/11/security/oracle-providers.html#GUID-A47B1249-593C-4C38-A0D0-68FA7681E0A7">
@@ -106,14 +106,14 @@ public String getName() {
106106
/**
107107
* The algorithm name.
108108
*
109-
* @see <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
109+
* @see <a href="https://docs.oracle.com/javase/6/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
110110
* Java 6 Cryptography Architecture Sun Providers Documentation</a>
111-
* @see <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
111+
* @see <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
112112
* Java 7 Cryptography Architecture Sun Providers Documentation</a>
113-
* @see <a href="http://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
113+
* @see <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SunJCEProvider">
114114
* Java 8 Cryptography Architecture Sun Providers Documentation</a>
115115
* @see <a href=
116-
* "http://docs.oracle.com/javase/9/security/oracleproviders.htm#JSSEC-GUID-A47B1249-593C-4C38-A0D0-68FA7681E0A7">
116+
* "https://docs.oracle.com/javase/9/security/oracleproviders.htm#JSSEC-GUID-A47B1249-593C-4C38-A0D0-68FA7681E0A7">
117117
* Java 9 Cryptography Architecture Sun Providers Documentation</a>
118118
* @return The algorithm name ("HmacSHA512" for example)
119119
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public static Mac getHmacSha512(final byte[] key) {
164164
*
165165
* @param algorithm
166166
* the name of the algorithm requested. See
167-
* <a href= "http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
167+
* <a href= "https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
168168
* >Appendix A in the Java Cryptography Architecture Reference Guide</a> for information about standard
169169
* algorithm names.
170170
* @param key
@@ -184,7 +184,7 @@ public static Mac getInitializedMac(final HmacAlgorithms algorithm, final byte[]
184184
*
185185
* @param algorithm
186186
* the name of the algorithm requested. See
187-
* <a href= "http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
187+
* <a href= "https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA"
188188
* >Appendix A in the Java Cryptography Architecture Reference Guide</a> for information about standard
189189
* algorithm names.
190190
* @param key

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* <li>Java 9 and up: SHA3-224, SHA3-256, SHA3-384, SHA3-512.</li>
3131
* </ul>
3232
*
33-
* @see <a href="http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#MessageDigest">
33+
* @see <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#MessageDigest">
3434
* Java 8 Cryptography Architecture Standard Algorithm Name Documentation</a>
3535
* @see <a href="https://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html#messagedigest-algorithms">
3636
* Java 11 Cryptography Architecture Standard Algorithm Name Documentation</a>
@@ -39,8 +39,8 @@
3939
* @see <a href="https://docs.oracle.com/en/java/javase/21/docs/specs/security/standard-names.html#messagedigest-algorithms">
4040
* Java 21 Cryptography Architecture Standard Algorithm Name Documentation</a>
4141
*
42-
* @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.180-4">FIPS PUB 180-4</a>
43-
* @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.202">FIPS PUB 202</a>
42+
* @see <a href="https://dx.doi.org/10.6028/NIST.FIPS.180-4">FIPS PUB 180-4</a>
43+
* @see <a href="https://dx.doi.org/10.6028/NIST.FIPS.202">FIPS PUB 202</a>
4444
* @since 1.7
4545
*/
4646
public class MessageDigestAlgorithms {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* NotThreadSafe
3333
* </p>
3434
*
35-
* @see <a href="http://cyan4973.github.io/xxHash/">xxHash</a>
35+
* @see <a href="https://cyan4973.github.io/xxHash/">xxHash</a>
3636
* @since 1.11
3737
*/
3838
public class XXHash32 implements Checksum {
@@ -62,7 +62,7 @@ private static int getInt(final byte[] buffer, final int idx) {
6262
private final byte[] oneByte = new byte[1];
6363
private final int[] state = new int[4];
6464
// Note: the code used to use ByteBuffer but the manual method is 50% faster
65-
// See: http://gitbox.apache.org/repos/asf/commons-compress/diff/2f56fb5c
65+
// See: https://gitbox.apache.org/repos/asf/commons-compress/diff/2f56fb5c
6666
private final byte[] buffer = new byte[BUF_SIZE];
6767

6868
private final int seed;

0 commit comments

Comments
 (0)