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

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

commit 568f2d7d7cf24ff0074eec29e21868ce9fe24236
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 26 15:05:20 2026 -0400

    Remove unused method
---
 src/main/java/org/apache/commons/codec/binary/BaseNCodec.java | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java 
b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
index 5cb1e387..bd27d27c 100644
--- a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
+++ b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
@@ -417,16 +417,6 @@ public abstract class BaseNCodec implements BinaryEncoder, 
BinaryDecoder {
         return CHUNK_SEPARATOR.clone();
     }
 
-    /**
-     * Gets the array length or 0 if null.
-     *
-     * @param array The array or null.
-     * @return The array length or 0 if null.
-     */
-    static int getLength(final byte[] array) {
-        return array == null ? 0 : array.length;
-    }
-
     private static int gte0(final int value) {
         if (value < 0) {
             throw new IllegalArgumentException("value must be greater than or 
equal to 0.");

Reply via email to