You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by th...@apache.org on 2007/02/14 13:22:56 UTC

svn commit: r507508 - /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java

Author: thilina
Date: Wed Feb 14 04:22:54 2007
New Revision: 507508

URL: http://svn.apache.org/viewvc?view=rev&rev=507508
Log:
Adding the suggestion given in WSCOMMONS-165...


Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java?view=diff&rev=507508&r1=507507&r2=507508
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java Wed Feb 14 04:22:54 2007
@@ -65,6 +65,7 @@
 						.getDataHandler()), boundary);
 			}
 			finishWritingMime(outStream);
+			outStream.flush();
         } catch (IOException e) {
             throw new OMException("Error while writing to the OutputStream.", e);
         } catch (MessagingException e) {
@@ -126,6 +127,7 @@
         part.writeTo(outStream);
         outStream.write(CRLF);
         writeMimeBoundary(outStream, boundary);
+        outStream.flush();
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org