You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/09/12 11:36:58 UTC

svn commit: r1624487 - /tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/Utility.java

Author: markt
Date: Fri Sep 12 09:36:57 2014
New Revision: 1624487

URL: http://svn.apache.org/r1624487
Log:
Don't use DataInputStream where we don't have to

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=1624487&r1=1624486&r2=1624487&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 Fri Sep 12 09:36:57 2014
@@ -211,7 +211,7 @@ final class Utility {
         skipFully(file, 2);
     }
 
-    static void swallowCode(DataInputStream file) throws IOException {
+    static void swallowCode(DataInput file) throws IOException {
         // file.readUnsignedShort(); // Unused max_stack
         // file.readUnsignedShort(); // Unused max_locals
         skipFully(file, 4);
@@ -382,7 +382,7 @@ final class Utility {
         }
     }
 
-    static void swallowFieldOrMethod(DataInputStream file)
+    static void swallowFieldOrMethod(DataInput file)
             throws IOException {
         // file.readUnsignedShort(); // Unused access flags
         // file.readUnsignedShort(); // name index
@@ -395,7 +395,7 @@ final class Utility {
         }
     }
 
-    static void swallowAttribute(DataInputStream file)
+    static void swallowAttribute(DataInput file)
             throws IOException {
         //file.readUnsignedShort();   // Unused name index
         skipFully(file, 2);



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