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 854ace8bb7d4e542324928b4ba585b13f8a5293c
Author: Gary David Gregory (Code signing key) <[email protected]>
AuthorDate: Tue Jul 9 08:39:11 2024 -0400

    Remove redundant keywords
---
 src/main/java/org/apache/bcel/generic/Instruction.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/generic/Instruction.java 
b/src/main/java/org/apache/bcel/generic/Instruction.java
index 2e8fa151..1d829132 100644
--- a/src/main/java/org/apache/bcel/generic/Instruction.java
+++ b/src/main/java/org/apache/bcel/generic/Instruction.java
@@ -456,7 +456,7 @@ public abstract class Instruction implements Cloneable {
     public Instruction copy() {
         Instruction i = null;
         // "Constant" instruction, no need to duplicate
-        if (InstructionConst.getInstruction(this.getOpcode()) != null) {
+        if (InstructionConst.getInstruction(getOpcode()) != null) {
             i = this;
         } else {
             try {

Reply via email to