You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Markus Wiederkehr (JIRA)" <se...@james.apache.org> on 2008/11/09 20:30:44 UTC

[jira] Updated: (MIME4J-85) Upgrade source to Java 5

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

Markus Wiederkehr updated MIME4J-85:
------------------------------------

    Attachment: mime4j-java5.patch

proposed patch includes:

* inferred Generics types
* enhanced for-loops
* @Override annotations
* an enum Mode as replacement for the constants in MessageUtils
* changed return type of MimeEntityConfig.clone() to MimeEntityConfig

the last point could be changed to a copy constructor but that would be outside of the scope of this patch.

> Upgrade source to Java 5
> ------------------------
>
>                 Key: MIME4J-85
>                 URL: https://issues.apache.org/jira/browse/MIME4J-85
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Markus Wiederkehr
>             Fix For: 0.6
>
>         Attachments: mime4j-java5.patch
>
>
> The Mime4j API would greatly benefit from Java 5 language features, most of all Generics.
> For backward compatibility with JVM 1.4 the generated jar file could be transformed using the Retrotranslator Maven Plugin. If this compatibility is required new features of the Java 5 API (such as StringBuilder) cannot be used.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org