Author: kkolinko Date: Fri Sep 12 21:07:30 2014 New Revision: 1624648 URL: http://svn.apache.org/r1624648 Log: Remove branch that is not used by Tomcat. Thanks to Cobertura coverage report.
Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ClassParser.java Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ClassParser.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ClassParser.java?rev=1624648&r1=1624647&r2=1624648&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ClassParser.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ClassParser.java Fri Sep 12 21:07:30 2014 @@ -58,11 +58,7 @@ public final class ClassParser { * @param file Input stream */ public ClassParser(InputStream file) { - if (file instanceof DataInputStream) { - this.file = (DataInputStream) file; - } else { - this.file = new DataInputStream(new BufferedInputStream(file, BUFSIZE)); - } + this.file = new DataInputStream(new BufferedInputStream(file, BUFSIZE)); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org