You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/05/01 12:45:50 UTC
[commons-bcel] 21/49: Use compact array declaration.
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-bcel.git
commit 7b7aa0487e8c0429021e82032a0afd580110450a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 1 08:24:01 2022 -0400
Use compact array declaration.
---
src/main/java/org/apache/bcel/classfile/Field.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/classfile/Field.java b/src/main/java/org/apache/bcel/classfile/Field.java
index a334de93..b4a58236 100644
--- a/src/main/java/org/apache/bcel/classfile/Field.java
+++ b/src/main/java/org/apache/bcel/classfile/Field.java
@@ -60,7 +60,7 @@ public final class Field extends FieldOrMethod {
/**
* Empty array.
*/
- static final Field[] EMPTY_FIELD_ARRAY = new Field[0];
+ static final Field[] EMPTY_FIELD_ARRAY = {};
/**