This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git

commit 99cf6b7800f7f1af1b45c4b167aae128e3bb4aeb
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jan 16 07:11:08 2026 -0500

    Javadoc and exception messages: "base 32" -> "Base32".
---
 src/main/java/org/apache/commons/codec/binary/Base32.java     | 6 +++---
 src/test/java/org/apache/commons/codec/binary/Base32Test.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/binary/Base32.java 
b/src/main/java/org/apache/commons/codec/binary/Base32.java
index 6c86490c..b986ebb6 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base32.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base32.java
@@ -742,7 +742,7 @@ public class Base32 extends BaseNCodec {
     }
 
     /**
-     * Validates whether decoding the final trailing character is possible in 
the context of the set of possible base 32 values.
+     * Validates whether decoding the final trailing character is possible in 
the context of the set of possible Base32 values.
      * <p>
      * The character is valid if the lower bits within the provided mask are 
zero. This is used to test the final trailing base-32 digit is zero in the bits
      * that will be discarded.
@@ -756,7 +756,7 @@ public class Base32 extends BaseNCodec {
         // Use the long bit work area
         if (isStrictDecoding() && (context.lbitWorkArea & emptyBitsMask) != 0) 
{
             throw new IllegalArgumentException("Strict decoding: Last encoded 
character (before the paddings if any) is a valid " +
-                    "base 32 alphabet but not a possible encoding. Expected 
the discarded bits from the character to be zero.");
+                    "Base32 alphabet but not a possible encoding. Expected the 
discarded bits from the character to be zero.");
         }
     }
 
@@ -768,7 +768,7 @@ public class Base32 extends BaseNCodec {
     private void validateTrailingCharacters() {
         if (isStrictDecoding()) {
             throw new IllegalArgumentException("Strict decoding: Last encoded 
character(s) (before the paddings if any) are valid " +
-                    "base 32 alphabet but not a possible encoding. Decoding 
requires either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
+                    "Base32 alphabet but not a possible encoding. Decoding 
requires either 2, 4, 5, or 7 trailing 5-bit characters to create bytes.");
         }
     }
 }
diff --git a/src/test/java/org/apache/commons/codec/binary/Base32Test.java 
b/src/test/java/org/apache/commons/codec/binary/Base32Test.java
index 637a2195..91d87917 100644
--- a/src/test/java/org/apache/commons/codec/binary/Base32Test.java
+++ b/src/test/java/org/apache/commons/codec/binary/Base32Test.java
@@ -160,7 +160,7 @@ class Base32Test {
     // @formatter:on
 
     /**
-     * Test base 32 decoding of the final trailing bits. Trailing encoded bytes
+     * Test Base32 decoding of the final trailing bits. Trailing encoded bytes
      * cannot fit exactly into 5-bit characters so the last character has a 
limited
      * alphabet where the final bits are zero. This asserts that illegal final
      * characters throw an exception when decoding.

Reply via email to