[ 
https://issues.apache.org/jira/browse/MIME4J-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated MIME4J-129:
-------------------------------------

    Attachment: MIME4J-129-take1.patch

Just a very quick hack intended as a proof of concept only. The patch 
eliminates a direct dependency on MaximalBodyDescriptor in all parser classes 
and replaces it with the MutableBodyDescriptorFactory interface.

(1) MutableBodyDescriptorFactory and MutableBodyDescriptor can now be moved 
from o.a.j.m.parser to a dom package (o.a.j.m.dom.parser, for instance).
(2) We could also get rid of the ugly MimeTokenStream extending 
BasicMimeTokenStream by moving the MimeTokenStream code back to 
BasicMimeTokenStream

Please review.

Oleg

> Split Up Core Module
> --------------------
>
>                 Key: MIME4J-129
>                 URL: https://issues.apache.org/jira/browse/MIME4J-129
>             Project: JAMES Mime4j
>          Issue Type: Task
>    Affects Versions: 0.7
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.8
>
>         Attachments: MIME4J-129-take1.patch
>
>
> ATM only example and benchmark code has been moved into separate modules. The 
> core module contains all substantial code.
> IIRC the plan was that core would be completely replaced by a number of 
> separate modules. This task has been created to track this work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to