You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/05/09 19:11:29 UTC
svn commit: r654889 - in /cxf/branches/2.0.x-fixes: ./
api/src/main/java/org/apache/cxf/io/CachedOutputStream.java
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;