cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r559322 - /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java
Date Wed, 25 Jul 2007 05:58:16 GMT
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();
     }
 
     /**



Mime
View raw message