Author: ffang
Date: Tue Jul 24 22:58:15 2007
New Revision: 559322

URL: http://svn.apache.org/viewvc?view=rev&rev=559322
Log:
[CXF-847] close CachedOutputStream after use to avoid diskspace consuming for 
long term run server

Modified:
    
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java

Modified: 
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java?view=diff&rev=559322&r1=559321&r2=559322
==============================================================================
--- 
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java
 (original)
+++ 
incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java
 Tue Jul 24 22:58:15 2007
@@ -201,6 +201,7 @@
         CachedOutputStream out = new CachedOutputStream();
         IOUtils.copy(input, out);
         input.setInputStream(out.getInputStream());
+        out.close();
     }
 
     /**


Reply via email to