You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <mi...@james.apache.org> on 2009/02/04 21:52:01 UTC

[jira] Closed: (MIME4J-96) Field.parse() should defer parsing until the parsed value is actually requested

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

Robert Burrell Donkin closed MIME4J-96.
---------------------------------------


Closing all issues fixed previously, after a brief review of each.

> Field.parse() should defer parsing until the parsed value is actually requested
> -------------------------------------------------------------------------------
>
>                 Key: MIME4J-96
>                 URL: https://issues.apache.org/jira/browse/MIME4J-96
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Markus Wiederkehr
>            Assignee: Markus Wiederkehr
>             Fix For: 0.6
>
>         Attachments: DateTimeField.java
>
>
> Currently the MessageBuilder invokes Field.parse() for every header field of a message. Benchmark tests have shown that this has a significant impact on performance.
> For example, DateTimeField parses the Date header into a java.util.Date object regardless if this value is ever needed or not.

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