axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r232507 - /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java
Date Sat, 13 Aug 2005 16:56:46 GMT
Author: dims
Date: Sat Aug 13 09:56:43 2005
New Revision: 232507

URL: http://svn.apache.org/viewcvs?rev=232507&view=rev
Log:
Revert my prev change...

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java?rev=232507&r1=232506&r2=232507&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/attachments/PartOnFile.java
Sat Aug 13 09:56:43 2005
@@ -50,9 +50,6 @@
             fileOutStream.write(value);
             while (!inStream.getBoundaryStatus()) {
                 value = inStream.read();
-                if(value == -1) {
-                    break;
-                }
                 if (!inStream.getBoundaryStatus()) {
                     fileOutStream.write(value);
                 }



Mime
View raw message