cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r752849 - /cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java
Date Thu, 12 Mar 2009 13:11:39 GMT
Author: dkulp
Date: Thu Mar 12 13:11:38 2009
New Revision: 752849

URL: http://svn.apache.org/viewvc?rev=752849&view=rev
Log:
Close the input stream so temp file is deleted.

Modified:
    cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java

Modified: cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java?rev=752849&r1=752848&r2=752849&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/mtom/src/demo/mtom/server/TestMtomPortTypeImpl.java
Thu Mar 12 13:11:38 2009
@@ -47,6 +47,7 @@
             long fileSize = 0;
             System.out.println("The image data size is " + mtomIn.available());
             name.value = "Hello " + name.value;
+            mtomIn.close();
         } catch (Exception e) {
             e.printStackTrace();
         }



Mime
View raw message