Fix Field, RawField and ParsedField consistency/confustion, dependency hell.
----------------------------------------------------------------------------
Key: MIME4J-149
URL: https://issues.apache.org/jira/browse/MIME4J-149
Project: JAMES Mime4j
Issue Type: Task
Affects Versions: 0.6
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
Priority: Minor
Fix For: 0.8
Partially discussed here:
http://markmail.org/message/7n63uorvnhzqx7mx
the "new" Field interface creates a bridge between the parser and the rest of
the code. While the bridge could expose potential in fact it expose lack of
consistence and unintuitive interfaces where you don't know if you are dealing
with raw fields or parsed fields and some code ends un parsing already parsed
fields.
Maybe we'll reintroduce a common interface later, but for now I much more
prefer to remove cycles and to have much clearer contracts about what is
returne/used by the stream parser and by the dom.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.