cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1375972 - /cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java
Date Wed, 22 Aug 2012 10:33:58 GMT
Author: ffang
Date: Wed Aug 22 10:33:58 2012
New Revision: 1375972

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

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java?rev=1375972&r1=1375971&r2=1375972&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/attachment/AttachmentSerializer.java Wed Aug
22 10:33:58 2012
@@ -153,7 +153,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