cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1376357 - /cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java
Date Thu, 23 Aug 2012 03:39:32 GMT
Author: ffang
Date: Thu Aug 23 03:39:32 2012
New Revision: 1376357

URL: http://svn.apache.org/viewvc?rev=1376357&view=rev
Log:
[CXF-4482]AttachmentSerializer puts an extra new line

Modified:
    cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java

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



Mime
View raw message