commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r149385 - jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java
Date Tue, 01 Feb 2005 10:50:11 GMT
Author: tcurdt
Date: Tue Feb  1 02:50:06 2005
New Revision: 149385

URL: http://svn.apache.org/viewcvs?view=rev&rev=149385
Log:
don't close the output stream twice


Modified:
    jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java

Modified: jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java?view=diff&r1=149384&r2=149385
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java
(original)
+++ jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/bcel/BcelClassTransformer.java
Tue Feb  1 02:50:06 2005
@@ -115,7 +115,6 @@
             out = new FileOutputStream(path + ".orig");
             out.write(orig);
             out.flush();
-            out.close();
         } catch (final IOException e) {
             e.printStackTrace();
 
@@ -185,7 +184,6 @@
             out = new FileOutputStream(clazzGen.getClassName() + ".rewritten");
             out.write(changed);
             out.flush();
-            out.close();
         } catch (final IOException e) {
             e.printStackTrace();
 



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


Mime
View raw message