ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1523951 - in /webservices/axiom/trunk: modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java pom.xml
Date Tue, 17 Sep 2013 08:16:20 GMT
Author: veithen
Date: Tue Sep 17 08:16:19 2013
New Revision: 1523951

URL: http://svn.apache.org/r1523951
Log:
Switched back to MIME4J 0.7.2 to avoid the build instability caused by MIME4J-231.

Modified:
    webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
    webservices/axiom/trunk/pom.xml

Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java?rev=1523951&r1=1523950&r2=1523951&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
(original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/MIMEMessage.java
Tue Sep 17 08:16:19 2013
@@ -54,8 +54,6 @@ import org.apache.james.mime4j.stream.Re
 class MIMEMessage extends AttachmentsDelegate {
     private static final Log log = LogFactory.getLog(MIMEMessage.class);
 
-    private static final MimeConfig mimeConfig = MimeConfig.custom().setStrictParsing(true).build();
-    
     /** <code>ContentType</code> of the MIME message */
     private final ContentType contentType;
     
@@ -126,7 +124,9 @@ class MIMEMessage extends AttachmentsDel
             filterIS = null;
         }
         
-        parser = new MimeTokenStream(mimeConfig);
+        MimeConfig config = new MimeConfig();
+        config.setStrictParsing(true);
+        parser = new MimeTokenStream(config);
         parser.setRecursionMode(RecursionMode.M_NO_RECURSE);
         parser.parseHeadless(is, contentTypeString);
         

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1523951&r1=1523950&r2=1523951&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Tue Sep 17 08:16:19 2013
@@ -270,7 +270,8 @@
             <dependency>
                 <groupId>org.apache.james</groupId>
                 <artifactId>apache-mime4j-core</artifactId>
-                <version>0.8.0-SNAPSHOT</version>
+                <!-- Note: snapshot versions are currently not stable because of MIME4J-231
-->
+                <version>0.7.2</version>
             </dependency>
             <dependency>
                 <groupId>org.osgi</groupId>



Mime
View raw message