james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1081993 - /james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java
Date Tue, 15 Mar 2011 23:14:52 GMT
Author: felixk
Date: Tue Mar 15 23:14:52 2011
New Revision: 1081993

URL: http://svn.apache.org/viewvc?rev=1081993&view=rev
Log:
Fix compilation errors.
MessageBuilderFactory does not (no longer?) exists. I assume it's MessageServiceFactory now.

Modified:
    james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java

Modified: james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java
URL: http://svn.apache.org/viewvc/james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java?rev=1081993&r1=1081992&r2=1081993&view=diff
==============================================================================
--- james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java (original)
+++ james/jdkim/trunk/main/src/main/java/org/apache/james/jdkim/impl/Message.java Tue Mar
15 23:14:52 2011
@@ -29,7 +29,7 @@ import org.apache.james.jdkim.api.Header
 import org.apache.james.mime4j.MimeException;
 import org.apache.james.mime4j.MimeIOException;
 import org.apache.james.mime4j.dom.MessageBuilder;
-import org.apache.james.mime4j.dom.MessageBuilderFactory;
+import org.apache.james.mime4j.dom.MessageServiceFactory;
 import org.apache.james.mime4j.dom.SingleBody;
 import org.apache.james.mime4j.dom.field.Field;
 import org.apache.james.mime4j.io.EOLConvertingInputStream;
@@ -64,12 +64,12 @@ public class Message implements Headers 
         MimeEntityConfig mec = new MimeEntityConfig();
         mec.setMaxLineLen(10000);
 
-        MessageBuilderFactory mbf = MessageBuilderFactory.newInstance();
+        MessageServiceFactory mbf = MessageServiceFactory.newInstance();
         mbf.setAttribute("MimeEntityConfig", mec);
         // mbf.setProperty("MaxLineLength", 10000);
         MessageBuilder mb = mbf.newMessageBuilder();
-        mb.setContentDecoding(false);
-        mb.setFlatMode();
+        // mb.setContentDecoding(false);
+        // mb.setFlatMode();
         return mb;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message