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 8d6d63f6122a6274b64b6de719f1534368ee6745 Author: Gary Gregory <[email protected]> AuthorDate: Fri Feb 13 18:03:17 2026 -0500 Restore old comments --- .../java/org/apache/bcel/generic/EnumElementValueGen.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java b/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java index 70e710f1..0547db12 100644 --- a/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java +++ b/src/main/java/org/apache/bcel/generic/EnumElementValueGen.java @@ -108,9 +108,13 @@ public class EnumElementValueGen extends ElementValueGen { * @return the enum type string. */ public String getEnumTypeString() { - // ...existing code... + // Constant cc = getConstantPool().getConstant(typeIdx); + // ConstantClass cu8 = + // (ConstantClass) getConstantPool().getConstant(typeIdx); + // return + // ((ConstantUtf8) getConstantPool().getConstant(cu8.getNameIndex())).getBytes(); return ((ConstantUtf8) getConstantPool().getConstant(typeIdx)).getBytes(); - // ...existing code... + // return Utility.signatureToString(cu8.getBytes()); } /** @@ -120,7 +124,10 @@ public class EnumElementValueGen extends ElementValueGen { */ public String getEnumValueString() { return ((ConstantUtf8) getConstantPool().getConstant(valueIdx)).getBytes(); - // ...existing code... + // ConstantString cu8 = + // (ConstantString) getConstantPool().getConstant(valueIdx); + // return + // ((ConstantUtf8) getConstantPool().getConstant(cu8.getStringIndex())).getBytes(); } /**
