You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2007/01/11 15:44:24 UTC
svn commit: r495241 -
/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/io/AbstractCachedOutputStream.java
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);