You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by Tom Copeland <to...@infoether.com> on 2002/05/28 20:11:17 UTC

[PATCH] Fixing Jtest stuff for JavaClass.java, Method.java

JavaClass: removing an unused local variable and closing a stream in a
finally block

Index: JavaClass.java
===================================================================
RCS file:
/home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClas
s.java,v
retrieving revision 1.7
diff -r1.7 JavaClass.java
175d174
<     ConstantUtf8  name;
295,296c294,298
<       ds.close();
<     } catch(IOException e) { e.printStackTrace(); }
---
>     } catch(IOException e) {
>                       e.printStackTrace();
>               } finally {
>                       try {ds.close();} catch (IOException ioe)
{ioe.printStackTrace();}
>               }


Method: removing unused local variables

Index: Method.java
===================================================================
RCS file:
/home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/Method.j
ava,v
retrieving revision 1.3
diff -r1.3 Method.java
173d172
<     ConstantValue cv;
175d173
<     String        exceptions;
177d174
<     Attribute[]   attr;


Yours,

Tom Copeland
InfoEther
703-486-4543 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>