cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r654889 - in /cxf/branches/2.0.x-fixes: ./ api/src/main/java/org/apache/cxf/io/CachedOutputStream.java
Date Fri, 09 May 2008 17:11:29 GMT
Author: dkulp
Date: Fri May  9 10:11:29 2008
New Revision: 654889

URL: http://svn.apache.org/viewvc?rev=654889&view=rev
Log:
Merged revisions 654663 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r654663 | bimargulies | 2008-05-08 21:43:02 -0400 (Thu, 08 May 2008) | 2 lines
  
  Fix CXF-1571.
........

Modified:
    cxf/branches/2.0.x-fixes/   (props changed)
    cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java

Propchange: cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java?rev=654889&r1=654888&r2=654889&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java (original)
+++ cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java Fri
May  9 10:11:29 2008
@@ -267,7 +267,7 @@
             int x = fin.read(bytes);
             while (x != -1) {
                 if ((count + x) > limit) {
-                    x = count - limit;
+                    x = limit - count;
                 }
                 out.append(new String(bytes, 0, x));
                 count += x;



Mime
View raw message