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-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new d0d3c299 Use import.
d0d3c299 is described below
commit d0d3c299c1bbffc088e5b011b8e26f8fb5c8a2d2
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 20 07:35:58 2026 -0700
Use import.
---
src/main/java/org/apache/bcel/generic/RET.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/bcel/generic/RET.java
b/src/main/java/org/apache/bcel/generic/RET.java
index dcccb1d0..990ee003 100644
--- a/src/main/java/org/apache/bcel/generic/RET.java
+++ b/src/main/java/org/apache/bcel/generic/RET.java
@@ -21,6 +21,7 @@ package org.apache.bcel.generic;
import java.io.DataOutputStream;
import java.io.IOException;
+import org.apache.bcel.Const;
import org.apache.bcel.util.ByteSequence;
/**
@@ -70,7 +71,7 @@ public class RET extends Instruction implements
IndexedInstruction, TypedInstruc
@Override
public void dump(final DataOutputStream out) throws IOException {
if (wide) {
- out.writeByte(org.apache.bcel.Const.WIDE);
+ out.writeByte(Const.WIDE);
}
out.writeByte(super.getOpcode());
if (wide) {
@@ -119,7 +120,7 @@ public class RET extends Instruction implements
IndexedInstruction, TypedInstruc
*/
@Override
public final void setIndex(final int index) {
- if (index < 0 || index > org.apache.bcel.Const.MAX_SHORT) {
+ if (index < 0 || index > Const.MAX_SHORT) {
throw new ClassGenException("Illegal value: " + index);
}
this.index = index;
@@ -127,7 +128,7 @@ public class RET extends Instruction implements
IndexedInstruction, TypedInstruc
}
private void setWide() {
- wide = index > org.apache.bcel.Const.MAX_BYTE;
+ wide = index > Const.MAX_BYTE;
if (wide) {
super.setLength(4); // Including the wide byte
} else {