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 "Benoit Tellier (Jira)" <mi...@james.apache.org> on 2021/04/16 03:20:00 UTC
[jira] [Closed] (MIME4J-292) ContentTypeField strong typing
[ https://issues.apache.org/jira/browse/MIME4J-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed MIME4J-292.
---------------------------------
Resolution: Fixed
> ContentTypeField strong typing
> ------------------------------
>
> Key: MIME4J-292
> URL: https://issues.apache.org/jira/browse/MIME4J-292
> Project: James Mime4j
> Issue Type: Improvement
> Components: dom
> Affects Versions: 0.8.4
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 0.8.4
>
>
> Currently, ContentTypeField::getMimeType getMediaType, getSubtype getCharset returns raw strings.
> As such we did not rely on Mime4J POJOs as part of the mailbox-api strong typing effort (see https://github.com/linagora/james-project/pull/3335#discussion_r415936255)
> We should strong type those field in mime4j, which would be a breaking change from a library user point of view, though upgrade should still remain easy.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)