You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/10/16 15:00:14 UTC

[commons-bcel] 02/02: Add missing Javadoc

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 ac0af3b67d147af7e04d48f0a0f2e71733b87dfd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Oct 16 10:59:51 2022 -0400

    Add missing Javadoc
---
 src/main/java/org/apache/bcel/classfile/ConstantPool.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index 2ca75984..e9d0a5c0 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -292,7 +292,9 @@ public class ConstantPool implements Cloneable, Node, Iterable<Constant> {
     /**
      * Gets constant from constant pool.
      *
+     * @param <T> A {@link Constant} subclass
      * @param index Index in constant pool
+     * @param castTo The {@link Constant} subclass to cast to.
      * @return Constant value
      * @see Constant
      * @throws ClassFormatException if index is invalid