james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1242036 - /james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
Date Wed, 08 Feb 2012 18:27:04 GMT
Author: olegk
Date: Wed Feb  8 18:27:04 2012
New Revision: 1242036

URL: http://svn.apache.org/viewvc?rev=1242036&view=rev
Log:
MIME4J-212: DefaultMessageBuilder#parseHeader ignores MimeConfig

Modified:
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java?rev=1242036&r1=1242035&r2=1242036&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/message/DefaultMessageBuilder.java
Wed Feb  8 18:27:04 2012
@@ -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