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 2d8f87876b01aaa1fa6790727543a0ee84699419 Author: Gary David Gregory (Code signing key) <ggreg...@apache.org> AuthorDate: Wed Nov 23 10:55:57 2022 -0500 Make org.apache.bcel.generic.LCONST.value final --- src/main/java/org/apache/bcel/generic/LCONST.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/bcel/generic/LCONST.java b/src/main/java/org/apache/bcel/generic/LCONST.java index c68bf899..94a297dc 100644 --- a/src/main/java/org/apache/bcel/generic/LCONST.java +++ b/src/main/java/org/apache/bcel/generic/LCONST.java @@ -25,12 +25,13 @@ package org.apache.bcel.generic; */ public class LCONST extends Instruction implements ConstantPushInstruction { - private long value; + private final long value; /** * Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. */ LCONST() { + this(0); } public LCONST(final long l) {