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


The following commit(s) were added to refs/heads/master by this push:
     new 7bead848 Use compact array notation.
7bead848 is described below

commit 7bead8487390ef6207cd0f771153811b02dcbcc1
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jun 18 01:29:35 2026 +0000

    Use compact array notation.
---
 src/main/java/org/apache/commons/codec/binary/Base58.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/codec/binary/Base58.java 
b/src/main/java/org/apache/commons/codec/binary/Base58.java
index 5372dd8e..4987cba4 100644
--- a/src/main/java/org/apache/commons/codec/binary/Base58.java
+++ b/src/main/java/org/apache/commons/codec/binary/Base58.java
@@ -87,7 +87,7 @@ public class Base58 extends BaseNCodec {
     }
     private static final BigInteger BASE = BigInteger.valueOf(58);
 
-    private static final byte[] EMPTY = new byte[0];
+    private static final byte[] EMPTY = {};
 
     /**
      * Base58 alphabet: 
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

Reply via email to