Skip to content

Commit 7bead84

Browse files
committed
Use compact array notation.
1 parent 8194db4 commit 7bead84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/org/apache/commons/codec/binary

src/main/java/org/apache/commons/codec/binary/Base58.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Base58.Builder setEncodeTable(final byte... encodeTable) {
8787
}
8888
private static final BigInteger BASE = BigInteger.valueOf(58);
8989

90-
private static final byte[] EMPTY = new byte[0];
90+
private static final byte[] EMPTY = {};
9191

9292
/**
9393
* Base58 alphabet: 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz

0 commit comments

Comments
 (0)