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 e236c128 Set in parameter order for clarity
e236c128 is described below
commit e236c1281c24d1854ea1599d50ab7340d9aa939b
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 13 11:26:23 2026 -0400
Set in parameter order for clarity
---
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 ee875507..e7123109 100644
--- a/src/main/java/org/apache/bcel/generic/Instruction.java
+++ b/src/main/java/org/apache/bcel/generic/Instruction.java
@@ -433,8 +433,8 @@ public abstract class Instruction implements Cloneable {
* @param length The instruction length.
*/
public Instruction(final short opcode, final short length) {
- this.length = length;
this.opcode = opcode;
+ this.length = length;
}
/**