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 1e9ee4c  Javadoc.
1e9ee4c is described below

commit 1e9ee4c3daed8eef83ca3f0d971c4242e9ebdc54
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Mon Jun 3 08:02:48 2019 -0400

    Javadoc.
---
 .../org/apache/bcel/classfile/ConstantPool.java    | 23 ++++++----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java 
b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index ec02d05..f7fdecf 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -38,7 +38,6 @@ public class ConstantPool implements Cloneable, Node {
 
     private Constant[] constant_pool;
 
-
     /**
      * @param constant_pool Array of constants
      */
@@ -46,9 +45,8 @@ public class ConstantPool implements Cloneable, Node {
         this.constant_pool = constant_pool;
     }
 
-
     /**
-     * Read constants from given input stream.
+     * Reads constants from given input stream.
      *
      * @param input Input stream
      * @throws IOException
@@ -77,7 +75,6 @@ public class ConstantPool implements Cloneable, Node {
         }
     }
 
-
     /**
      * Called by objects that are traversing the nodes of the tree implicitely
      * defined by the contents of a Java class. I.e., the hierarchy of methods,
@@ -90,9 +87,8 @@ public class ConstantPool implements Cloneable, Node {
         v.visitConstantPool(this);
     }
 
-
     /**
-     * Resolve constant to a string representation.
+     * Resolves constant to a string representation.
      *
      * @param  c Constant to be printed
      * @return String representation
@@ -164,7 +160,6 @@ public class ConstantPool implements Cloneable, Node {
         return str;
     }
 
-
     private static String escape( final String str ) {
         final int len = str.length();
         final StringBuilder buf = new StringBuilder(len + 5);
@@ -193,9 +188,8 @@ public class ConstantPool implements Cloneable, Node {
         return buf.toString();
     }
 
-
     /**
-     * Retrieve constant at `index' from constant pool and resolve it to
+     * Retrieves constant at `index' from constant pool and resolve it to
      * a string representation.
      *
      * @param  index of constant in constant pool
@@ -207,7 +201,6 @@ public class ConstantPool implements Cloneable, Node {
         return constantToString(c);
     }
 
-
     /**
      * Dump constant pool to file stream in binary format.
      *
@@ -223,9 +216,8 @@ public class ConstantPool implements Cloneable, Node {
         }
     }
 
-
     /**
-     * Get constant from constant pool.
+     * Gets constant from constant pool.
      *
      * @param  index Index in constant pool
      * @return Constant value
@@ -239,9 +231,8 @@ public class ConstantPool implements Cloneable, Node {
         return constant_pool[index];
     }
 
-
     /**
-     * Get constant from constant pool and check whether it has the
+     * Gets constant from constant pool and check whether it has the
      * expected type.
      *
      * @param  index Index in constant pool
@@ -263,7 +254,6 @@ public class ConstantPool implements Cloneable, Node {
         return c;
     }
 
-
     /**
      * @return Array of constants.
      * @see    Constant
@@ -272,9 +262,8 @@ public class ConstantPool implements Cloneable, Node {
         return constant_pool;
     }
 
-
     /**
-     * Get string from constant pool and bypass the indirection of
+     * Gets string from constant pool and bypass the indirection of
      * `ConstantClass' and `ConstantString' objects. I.e. these classes have
      * an index field that points to another entry of the constant pool of
      * type `ConstantUtf8' which contains the real data.

Reply via email to