cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r704769 - /cxf/branches/2.0.x-fixes/api/src/main/java/org/apache/cxf/io/CachedOutputStream.java
Date Wed, 15 Oct 2008 02:21:03 GMT
Author: ningjiang
Date: Tue Oct 14 19:21:01 2008
New Revision: 704769

URL: http://svn.apache.org/viewvc?rev=704769&view=rev
Log:
Fixed the build of CXF 2.0.x

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

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=704769&r1=704768&r2=704769&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 Tue
Oct 14 19:21:01 2008
@@ -303,7 +303,7 @@
         if (inmem) {
             if (currentStream instanceof ByteArrayOutputStream) {
                 byte[] bytes = ((ByteArrayOutputStream)currentStream).toByteArray();
-                out.append(IOUtils.newStringFromBytes(bytes));
+                out.append(new String(bytes));
             } else {
                 throw new IOException("Unknown format of currentStream");
             }



Mime
View raw message