Author: markt
Date: Thu Sep 11 10:20:47 2014
New Revision: 1624254
URL: http://svn.apache.org/r1624254
Log:
Improve efficiency of swallowCode()
Modified:
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java?rev=1624254&r1=1624253&r2=1624254&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java Thu
Sep 11 10:20:47 2014
@@ -213,7 +213,7 @@ final class Utility {
*/
int attributes_count = file.readUnsignedShort();
for (int i = 0; i < attributes_count; i++) {
- Attribute.readAttribute(file, constant_pool);
+ swallowAttribute(file, constant_pool);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]