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:46:04 UTC
[commons-bcel] 35/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 482ebd5dbe6c862fcfda7306ad2876afccadb2c9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 1 08:33:06 2022 -0400
Use compact array declaration.
---
src/main/java/org/apache/bcel/classfile/Method.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/classfile/Method.java b/src/main/java/org/apache/bcel/classfile/Method.java
index 50af1404..f9779082 100644
--- a/src/main/java/org/apache/bcel/classfile/Method.java
+++ b/src/main/java/org/apache/bcel/classfile/Method.java
@@ -64,7 +64,7 @@ public final class Method extends FieldOrMethod {
/**
* Empty array.
*/
- static final Method[] EMPTY_METHOD_ARRAY = new Method[0];
+ static final Method[] EMPTY_METHOD_ARRAY = {};
/**
* Empty constructor, all attributes have to be defined via `setXXX'