tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1624598 - in /tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile: Attribute.java ParameterAnnotationEntry.java ParameterAnnotations.java RuntimeVisibleParameterAnnotations.java
Date Fri, 12 Sep 2014 17:50:21 GMT
Author: kkolinko
Date: Fri Sep 12 17:50:20 2014
New Revision: 1624598

URL: http://svn.apache.org/r1624598
Log:
Remove RuntimeVisibleParameterAnnotations and its supporting classes.
The fields in these classes have no getters (especially ParameterAnnotationEntry.annotation_table).
As such, information stored in those classes was never read by Tomcat.

Removed:
    tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotationEntry.java
    tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ParameterAnnotations.java
    tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/RuntimeVisibleParameterAnnotations.java
Modified:
    tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java?rev=1624598&r1=1624597&r2=1624598&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Attribute.java Fri Sep 12 17:50:20
2014
@@ -66,8 +66,6 @@ public abstract class Attribute {
         // Call proper constructor, depending on `name'
         if (name.equals("RuntimeVisibleAnnotations")) {
             return new RuntimeVisibleAnnotations(file, constant_pool);
-        } else if (name.equals("RuntimeVisibleParameterAnnotations")) {
-            return new RuntimeVisibleParameterAnnotations(file, constant_pool);
         } else {
             // All other attributes are skipped
             Utility.skipFully(file, length);



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


Mime
View raw message