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 a87db3af Comments
a87db3af is described below

commit a87db3af9228afdcdbeb24233be1bb4b1971f28d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Nov 26 15:01:22 2023 -0500

    Comments
    
    Normalize spelling
---
 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 6d999ece..492d1d38 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base16.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base16.java
@@ -159,7 +159,7 @@ public class Base16 extends BaseNCodec {
         final int dataLen = Math.min(data.length - offset, length);
         final int availableChars = (context.ibitWorkArea != 0 ? 1 : 0) + 
dataLen;
 
-        // small optimisation to short-cut the rest of this method when it is 
fed byte-by-byte
+        // small optimization to short-cut the rest of this method when it is 
fed byte-by-byte
         if (availableChars == 1 && availableChars == dataLen) {
             // store 1/2 byte for next invocation of decode, we offset by +1 
as empty-value is 0
             context.ibitWorkArea = decodeOctet(data[offset]) + 1;

Reply via email to