james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Created: (MIME4J-149) Fix Field, RawField and ParsedField consistency/confustion, dependency hell.
Date Tue, 29 Dec 2009 21:25:29 GMT
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.


Mime
View raw message