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

"Tom Copeland" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <002d01c20673$0fb2ffb0$f501a8c0@TOMLAPTOP>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.