Skip to content

Commit d02c003

Browse files
committed
Use a URL to a prettier page: https://www.ietf.org/rfc/rfc2045
1 parent 3c961b8 commit d02c003

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* </p>
5353
*
5454
* @see Base64
55-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
55+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
5656
* @since 1.4
5757
*/
5858
public class Base64InputStream extends BaseNCodecInputStream<Base64, Base64InputStream, Base64InputStream.Builder> {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* </p>
5757
*
5858
* @see Base64
59-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
59+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
6060
* @since 1.4
6161
*/
6262
public class Base64OutputStream extends BaseNCodecOutputStream<Base64, Base64OutputStream, Base64OutputStream.Builder> {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public String toString() {
310310
* The {@value} character limit does not count the trailing CRLF, but counts all other characters, including any equal signs.
311311
* </p>
312312
*
313-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045 section 6.8</a>
313+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045 section 6.8</a>
314314
*/
315315
public static final int MIME_CHUNK_SIZE = 76;
316316

@@ -360,7 +360,7 @@ public String toString() {
360360
/**
361361
* Chunk separator per RFC 2045 section 2.1.
362362
*
363-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045 section 2.1</a>
363+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045 section 2.1</a>
364364
*/
365365
static final byte[] CHUNK_SEPARATOR = { '\r', '\n' };
366366

@@ -397,7 +397,7 @@ private static int createPositiveCapacity(final int minCapacity) {
397397
* Gets a copy of the chunk separator per RFC 2045 section 2.1.
398398
*
399399
* @return the chunk separator.
400-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045 section 2.1</a>
400+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045 section 2.1</a>
401401
* @since 1.15
402402
*/
403403
public static byte[] getChunkSeparator() {

src/main/javadoc/overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1><img src="org/apache/commons/codec/doc-files/leaf.svg" style="height: 1em; p
5858
</tr>
5959
<tr>
6060
<td><a href="org/apache/commons/codec/binary/Base64.html">Base64</a></td>
61-
<td>Provides Base64 encoding and decoding as defined by <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
61+
<td>Provides Base64 encoding and decoding as defined by <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
6262
</td>
6363
</tr>
6464
<tr>

src/site/xdoc/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ forked versions of Base64 had significantly diverged from one
5151
another. XML-RPC had applied numerous fixes and patches which
5252
were not applied to the Commons HttpClient Base64. Different
5353
subprojects had differing implementations at various levels
54-
of compliance with the <a href="https://www.ietf.org/rfc/rfc2045.txt">
54+
of compliance with the <a href="https://www.ietf.org/rfc/rfc2045">
5555
RFC 2045</a>.
5656
</p>
5757
<p>

src/test/java/org/apache/commons/codec/binary/Base32TestData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* This random data was encoded by OpenSSL. Java had nothing to do with it. This data helps us test interop between
2222
* Commons-Codec and OpenSSL. Notice that OpenSSL creates 64 character lines instead of the 76 of Commons-Codec.
2323
*
24-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
24+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
2525
*/
2626
public class Base32TestData {
2727

src/test/java/org/apache/commons/codec/binary/Base64Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
/**
4747
* Tests {@link Base64}.
4848
*
49-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
49+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
5050
*/
5151
class Base64Test {
5252

src/test/java/org/apache/commons/codec/binary/Base64TestData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* This random data was encoded by OpenSSL. Java had nothing to do with it. This data helps us test interop between
2222
* Commons-Codec and OpenSSL. Notice that OpenSSL creates 64 character lines instead of the 76 of Commons-Codec.
2323
*
24-
* @see <a href="https://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
24+
* @see <a href="https://www.ietf.org/rfc/rfc2045">RFC 2045</a>
2525
*/
2626
class Base64TestData {
2727

0 commit comments

Comments
 (0)