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


The following commit(s) were added to refs/heads/master by this push:
     new c35e3b2d Use Java-style parameter names
c35e3b2d is described below

commit c35e3b2d0e51ab201779d7434008516d76c0547f
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 24 10:38:40 2025 -0400

    Use Java-style parameter names
---
 src/main/java/org/apache/commons/codec/binary/BaseNCodec.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 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 24bc1593..837f7e0e 100644
--- a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
+++ b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
@@ -545,7 +545,7 @@ public abstract class BaseNCodec implements BinaryEncoder, 
BinaryDecoder {
     }
 
     // package protected for access from I/O streams
-    abstract void decode(byte[] pArray, int i, int length, Context context);
+    abstract void decode(byte[] array, int i, int length, Context context);
 
     /**
      * Decodes an Object using the Base-N algorithm. This method is provided 
in order to satisfy the requirements of
@@ -572,12 +572,12 @@ public abstract class BaseNCodec implements 
BinaryEncoder, BinaryDecoder {
     /**
      * Decodes a String containing characters in the Base-N alphabet.
      *
-     * @param pArray
+     * @param array
      *            A String containing Base-N character data
      * @return a byte array containing binary data
      */
-    public byte[] decode(final String pArray) {
-        return decode(StringUtils.getBytesUtf8(pArray));
+    public byte[] decode(final String array) {
+        return decode(StringUtils.getBytesUtf8(array));
     }
 
     /**

Reply via email to