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 34d0a3dd2317bb970cce95c5428c744e99cd6e8b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Mar 31 15:50:46 2024 -0400

    Normalize package private name
---
 src/main/java/org/apache/bcel/classfile/Code.java          | 2 +-
 src/main/java/org/apache/bcel/classfile/CodeException.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/Code.java 
b/src/main/java/org/apache/bcel/classfile/Code.java
index 13f9dfc4..8ec211fb 100644
--- a/src/main/java/org/apache/bcel/classfile/Code.java
+++ b/src/main/java/org/apache/bcel/classfile/Code.java
@@ -307,7 +307,7 @@ public final class Code extends Attribute {
      * @param exceptionTable exception table
      */
     public void setExceptionTable(final CodeException[] exceptionTable) {
-        this.exceptionTable = exceptionTable != null ? exceptionTable : 
CodeException.EMPTY_CODE_EXCEPTION_ARRAY;
+        this.exceptionTable = exceptionTable != null ? exceptionTable : 
CodeException.EMPTY_ARRAY;
         super.setLength(calculateLength()); // Adjust length
     }
 
diff --git a/src/main/java/org/apache/bcel/classfile/CodeException.java 
b/src/main/java/org/apache/bcel/classfile/CodeException.java
index 5171bcac..b8d4f0a9 100644
--- a/src/main/java/org/apache/bcel/classfile/CodeException.java
+++ b/src/main/java/org/apache/bcel/classfile/CodeException.java
@@ -55,7 +55,7 @@ public final class CodeException implements Cloneable, Node, 
Constants {
     /**
      * Empty array.
      */
-    static final CodeException[] EMPTY_CODE_EXCEPTION_ARRAY = {};
+    static final CodeException[] EMPTY_ARRAY = {};
 
     /** Range in the code the exception handler. */
     private int startPc;

Reply via email to