cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r495241 - /incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java
Date Thu, 11 Jan 2007 14:44:24 GMT
Author: ningjiang
Date: Thu Jan 11 06:44:18 2007
New Revision: 495241

URL: http://svn.apache.org/viewvc?view=rev&rev=495241
Log:
Added the call for Removing the temp file when the CachedOutputStream is closed.

Modified:
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java?view=diff&rev=495241&r1=495240&r2=495241
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java
(original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java
Thu Jan 11 06:44:18 2007
@@ -105,6 +105,7 @@
     public void close() throws IOException {
         currentStream.flush();
         currentStream.close();
+        dispose();
         if (null != callbacks) {
             for (CachedOutputStreamCallback cb : callbacks) {
                 cb.onClose(this);



Mime
View raw message