Author: markt
Date: Wed Sep 10 22:42:49 2014
New Revision: 1624165

URL: http://svn.apache.org/r1624165
Log:
Simplify constructors. No functional change.

Modified:
    
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java

Modified: 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java?rev=1624165&r1=1624164&r2=1624165&view=diff
==============================================================================
--- 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java
 (original)
+++ 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java
 Wed Sep 10 22:42:49 2014
@@ -41,8 +41,7 @@ public abstract class ParameterAnnotatio
      */
     ParameterAnnotations(int name_index, int length,
             DataInputStream file, ConstantPool constant_pool) throws 
IOException {
-        this(name_index, length, (ParameterAnnotationEntry[]) null,
-                constant_pool);
+        super(name_index, length, constant_pool);
         num_parameters = (file.readUnsignedByte());
         parameter_annotation_table = new 
ParameterAnnotationEntry[num_parameters];
         for (int i = 0; i < num_parameters; i++) {
@@ -52,19 +51,6 @@ public abstract class ParameterAnnotatio
 
 
     /**
-     * @param name_index Index pointing to the name <em>Code</em>
-     * @param length Content length in bytes
-     * @param parameter_annotation_table the actual parameter annotations
-     * @param constant_pool Array of constants
-     */
-    public ParameterAnnotations(int name_index, int length,
-            ParameterAnnotationEntry[] parameter_annotation_table, 
ConstantPool constant_pool) {
-        super(name_index, length, constant_pool);
-        setParameterAnnotationTable(parameter_annotation_table);
-    }
-
-
-    /**
      * @param parameter_annotation_table the entries to set in this parameter 
annotation
      */
     public final void setParameterAnnotationTable(



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to