Author: niklas Date: Mon Jul 21 13:41:27 2008 New Revision: 678554 URL: http://svn.apache.org/viewvc?rev=678554&view=rev Log: Removed the extra CRLF written by writeTo() when QP encoding is used.
Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileBinaryBody.java james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileTextBody.java Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileBinaryBody.java URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileBinaryBody.java?rev=678554&r1=678553&r2=678554&view=diff ============================================================================== --- james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileBinaryBody.java (original) +++ james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileBinaryBody.java Mon Jul 21 13:41:27 2008 @@ -100,7 +100,6 @@ out.write(CodecUtil.CRLF_CRLF); } else if (MimeUtil.ENC_QUOTED_PRINTABLE.equals(transferEncoding)) { CodecUtil.encodeQuotedPrintableBinary(inputStream,out); - out.write(CodecUtil.CRLF_CRLF); } else { CodecUtil.copy(inputStream,out); } Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileTextBody.java URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileTextBody.java?rev=678554&r1=678553&r2=678554&view=diff ============================================================================== --- james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileTextBody.java (original) +++ james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/TempFileTextBody.java Mon Jul 21 13:41:27 2008 @@ -128,7 +128,6 @@ out.write(CodecUtil.CRLF_CRLF); } else if (MimeUtil.ENC_QUOTED_PRINTABLE.equals(transferEncoding)) { CodecUtil.encodeQuotedPrintable(inputStream,out); - out.write(CodecUtil.CRLF_CRLF); } else { CodecUtil.copy(inputStream,out); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]