You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2012/08/23 05:49:55 UTC

svn commit: r1376358 - in /cxf/branches/2.4.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java

Author: ffang
Date: Thu Aug 23 03:49:55 2012
New Revision: 1376358

URL: http://svn.apache.org/viewvc?rev=1376358&view=rev
Log:
Merged revisions 1376357 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.5.x-fixes

........
  r1376357 | ffang | 2012-08-23 11:39:32 +0800 (四, 23  8 2012) | 1 line
  
  [CXF-4482]AttachmentSerializer puts an extra new line
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/branches/2.5.x-fixes:r1376357

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

Modified: cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java?rev=1376358&r1=1376357&r2=1376358&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java (original)
+++ cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java Thu Aug 23 03:49:55 2012
@@ -122,7 +122,7 @@ public class AttachmentSerializer {
             encoding = "UTF-8";
         }
         StringWriter writer = new StringWriter();
-        writer.write("\r\n");
+        writer.write("\n");
         writer.write("--");
         writer.write(bodyBoundary);