Skip to content

Commit 1f3b9fe

Browse files
authored
Javadoc typo in Base16.java (#380)
* Javadoc typo in Base16.java * Javadoc Base16OutputStream * Javadoc Package Info
1 parent 1c15f3b commit 1f3b9fe

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.apache.commons.codec.CodecPolicy;
2323

2424
/**
25-
* Provides Base32 encoding and decoding as defined by <a href="https://tools.ietf.org/html/rfc4648#section-8">RFC 4648 - 8. Base 16 Encoding</a>.
25+
* Provides Base16 encoding and decoding as defined by <a href="https://tools.ietf.org/html/rfc4648#section-8">RFC 4648 - 8. Base 16 Encoding</a>.
2626
*
2727
* <p>
2828
* This class is thread-safe.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
import org.apache.commons.codec.CodecPolicy;
2323

2424
/**
25-
* Provides Hex encoding in a streaming fashion (unlimited size).
25+
* Provides Base16 encoding in a streaming fashion (unlimited size).
2626
* <p>
27-
* The default behavior of the HexOutputStream is to ENCODE, whereas the default behavior of the
27+
* The default behavior of the Base16OutputStream is to ENCODE, whereas the default behavior of the
2828
* {@link Base16InputStream} is to DECODE. But this behavior can be overridden by using a different constructor.
2929
* </p>
3030
*
@@ -33,7 +33,7 @@
3333
public class Base16OutputStream extends BaseNCodecOutputStream {
3434

3535
/**
36-
* Constructs a Base16OutputStream such that all data written is Hex-encoded to the original provided OutputStream.
36+
* Constructs a Base16OutputStream such that all data written is Base16-encoded to the original provided OutputStream.
3737
*
3838
* @param outputStream OutputStream to wrap.
3939
*/
@@ -42,7 +42,7 @@ public Base16OutputStream(final OutputStream outputStream) {
4242
}
4343

4444
/**
45-
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
45+
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
4646
* original provided OutputStream.
4747
*
4848
* @param outputStream OutputStream to wrap.
@@ -53,7 +53,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
5353
}
5454

5555
/**
56-
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
56+
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
5757
* original provided OutputStream.
5858
*
5959
* @param outputStream OutputStream to wrap.
@@ -65,7 +65,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
6565
}
6666

6767
/**
68-
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
68+
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
6969
* original provided OutputStream.
7070
*
7171
* @param outputStream OutputStream to wrap.

src/main/java/org/apache/commons/codec/binary/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
*/
1717

1818
/**
19-
* Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
19+
* Base64, Base32, Base16, BaseN, Binary, and Hexadecimal String encoding and decoding.
2020
*/
2121
package org.apache.commons.codec.binary;

0 commit comments

Comments
 (0)