From 7617092b4700831ceb1c360b283ac360ffdbad60 Mon Sep 17 00:00:00 2001
From: Sebastian Baunsgaard
Date: Tue, 27 May 2025 21:53:14 +0200
Subject: [PATCH 1/3] Javadoc typo in Base16.java
---
src/main/java/org/apache/commons/codec/binary/Base16.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/codec/binary/Base16.java b/src/main/java/org/apache/commons/codec/binary/Base16.java
index f237908136..1cf1590b6c 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base16.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base16.java
@@ -22,7 +22,7 @@
import org.apache.commons.codec.CodecPolicy;
/**
- * Provides Base32 encoding and decoding as defined by RFC 4648 - 8. Base 16 Encoding.
+ * Provides Base16 encoding and decoding as defined by RFC 4648 - 8. Base 16 Encoding.
*
*
* This class is thread-safe.
From 184a01618c803f5e83dff0a0909a684296282cf3 Mon Sep 17 00:00:00 2001
From: Sebastian Baunsgaard
Date: Tue, 27 May 2025 21:59:26 +0200
Subject: [PATCH 2/3] Javadoc Base16OutputStream
---
.../commons/codec/binary/Base16OutputStream.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/binary/Base16OutputStream.java b/src/main/java/org/apache/commons/codec/binary/Base16OutputStream.java
index 2fceb9f432..b05d226169 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base16OutputStream.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base16OutputStream.java
@@ -22,9 +22,9 @@
import org.apache.commons.codec.CodecPolicy;
/**
- * Provides Hex encoding in a streaming fashion (unlimited size).
+ * Provides Base16 encoding in a streaming fashion (unlimited size).
*
- * The default behavior of the HexOutputStream is to ENCODE, whereas the default behavior of the
+ * The default behavior of the Base16OutputStream is to ENCODE, whereas the default behavior of the
* {@link Base16InputStream} is to DECODE. But this behavior can be overridden by using a different constructor.
*
*
@@ -33,7 +33,7 @@
public class Base16OutputStream extends BaseNCodecOutputStream {
/**
- * Constructs a Base16OutputStream such that all data written is Hex-encoded to the original provided OutputStream.
+ * Constructs a Base16OutputStream such that all data written is Base16-encoded to the original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
*/
@@ -42,7 +42,7 @@ public Base16OutputStream(final OutputStream outputStream) {
}
/**
- * Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
+ * Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
@@ -53,7 +53,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
}
/**
- * Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
+ * Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
@@ -65,7 +65,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
}
/**
- * Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
+ * Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
From d52a0c851f933565475631a020a338dfd87ae492 Mon Sep 17 00:00:00 2001
From: Sebastian Baunsgaard
Date: Tue, 27 May 2025 22:00:35 +0200
Subject: [PATCH 3/3] Javadoc Package Info
---
src/main/java/org/apache/commons/codec/binary/package-info.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/codec/binary/package-info.java b/src/main/java/org/apache/commons/codec/binary/package-info.java
index d35cf8c0ae..087f59e60d 100644
--- a/src/main/java/org/apache/commons/codec/binary/package-info.java
+++ b/src/main/java/org/apache/commons/codec/binary/package-info.java
@@ -16,6 +16,6 @@
*/
/**
- * Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
+ * Base64, Base32, Base16, BaseN, Binary, and Hexadecimal String encoding and decoding.
*/
package org.apache.commons.codec.binary;