james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Wiederkehr (JIRA)" <server-...@james.apache.org>
Subject [jira] Updated: (MIME4J-85) Upgrade source to Java 5
Date Sun, 09 Nov 2008 19:30:44 GMT

     [ 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


Mime
View raw message