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


The following commit(s) were added to refs/heads/master by this push:
     new 160884d3 Javadoc
160884d3 is described below

commit 160884d339fcd12c73ced85ed11ff7094c74b949
Author: Gary David Gregory (Code signing key) <ggreg...@apache.org>
AuthorDate: Fri Nov 18 16:31:57 2022 -0500

    Javadoc
---
 .../bcel/verifier/structurals/UninitializedObjectType.java | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/bcel/verifier/structurals/UninitializedObjectType.java
 
b/src/main/java/org/apache/bcel/verifier/structurals/UninitializedObjectType.java
index 757e56d2..c045ac9b 100644
--- 
a/src/main/java/org/apache/bcel/verifier/structurals/UninitializedObjectType.java
+++ 
b/src/main/java/org/apache/bcel/verifier/structurals/UninitializedObjectType.java
@@ -30,10 +30,14 @@ public class UninitializedObjectType extends ReferenceType 
implements Constants
     /** The "initialized" version. */
     private final ObjectType initialized;
 
-    /** Creates a new instance. */
-    public UninitializedObjectType(final ObjectType t) {
-        super(Const.T_UNKNOWN, "<UNINITIALIZED OBJECT OF TYPE '" + 
t.getClassName() + "'>");
-        initialized = t;
+    /**
+     * Creates a new instance.
+     *
+     * @param objectType uninitialized object type.
+     */
+    public UninitializedObjectType(final ObjectType objectType) {
+        super(Const.T_UNKNOWN, "<UNINITIALIZED OBJECT OF TYPE '" + 
objectType.getClassName() + "'>");
+        initialized = objectType;
     }
 
     /**
@@ -52,6 +56,8 @@ public class UninitializedObjectType extends ReferenceType 
implements Constants
     /**
      * Returns the ObjectType of the same class as the one of the 
uninitialized object represented by this
      * UninitializedObjectType instance.
+     *
+     * @return the ObjectType.
      */
     public ObjectType getInitialized() {
         return initialized;

Reply via email to