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 ff013eb22d748e152a45bc10452bf5888d3cb935 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Apr 1 09:12:17 2024 -0400 Better local names --- src/main/java/org/apache/bcel/generic/ArrayElementValueGen.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/bcel/generic/ArrayElementValueGen.java b/src/main/java/org/apache/bcel/generic/ArrayElementValueGen.java index 744a1ce8..48aa4bcd 100644 --- a/src/main/java/org/apache/bcel/generic/ArrayElementValueGen.java +++ b/src/main/java/org/apache/bcel/generic/ArrayElementValueGen.java @@ -50,14 +50,14 @@ public class ArrayElementValueGen extends ElementValueGen { evalues = new ArrayList<>(); } - public ArrayElementValueGen(final int type, final ElementValue[] datums, final ConstantPoolGen cpool) { + public ArrayElementValueGen(final int type, final ElementValue[] elementValues, final ConstantPoolGen cpool) { super(type, cpool); if (type != ARRAY) { throw new IllegalArgumentException("Only element values of type array can be built with this ctor - type specified: " + type); } this.evalues = new ArrayList<>(); - for (final ElementValue datum : datums) { - evalues.add(ElementValueGen.copy(datum, cpool, true)); + for (final ElementValue elementValue : elementValues) { + evalues.add(ElementValueGen.copy(elementValue, cpool, true)); } }