james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1526131 - /james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
Date Wed, 25 Sep 2013 08:15:39 GMT
Author: olegk
Date: Wed Sep 25 08:15:38 2013
New Revision: 1526131

URL: http://svn.apache.org/r1526131
Log:
MIME4J-212: DefaultMessageBuilder#parseHeader ignores MimeConfig

Modified:
    james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java

Modified: james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java?rev=1526131&r1=1526130&r2=1526131&view=diff
==============================================================================
--- james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
(original)
+++ james/mime4j/branches/apache-mime4j-0.7/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
Wed Sep 25 08:15:38 2013
@@ -254,7 +254,7 @@ public class DefaultMessageBuilder imple
         final FieldParser<? extends ParsedField> fp = fieldParser != null ? fieldParser
:
             strict ? DefaultFieldParser.getParser() : LenientFieldParser.getParser();
         final HeaderImpl header = new HeaderImpl();
-        final MimeStreamParser parser = new MimeStreamParser();
+        final MimeStreamParser parser = new MimeStreamParser(cfg, mon, null);
         parser.setContentHandler(new AbstractContentHandler() {
             @Override
             public void endHeader() {



Mime
View raw message