You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/09/12 19:50:21 UTC
svn commit: r1624598 - in
/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile: Attribute.java
ParameterAnnotationEntry.java ParameterAnnotations.java
RuntimeVisibleParameterAnnotations.java
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