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 "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2007/09/18 16:56:43 UTC

[jira] Commented: (MIME4J-29) Remove cyclic dependecies between packages

    [ https://issues.apache.org/jira/browse/MIME4J-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528404 ] 

Stefano Bagnara commented on MIME4J-29:
---------------------------------------

As wrote to the list here is the list of changes to remove the cycles:
----------
1) Move SimpleContentHandler from mime4j root package to message. It has
depedencies on the message package and no one depends on this. So either
"message" or a new package.

2) Move the encoding string constants from ContentTransferEncodingField
to MimeUtil.

3) Remove static method parse from DateTime and move the logic inside
DateTimeField.Parse class (the only user of that code).
--------------

> Remove cyclic dependecies between packages
> ------------------------------------------
>
>                 Key: MIME4J-29
>                 URL: https://issues.apache.org/jira/browse/MIME4J-29
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.3
>            Reporter: Stefano Bagnara
>            Priority: Minor
>             Fix For: 0.4
>
>
> I found the following cycles in our packages:
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.decoder
> oaj.mime4j
> - oaj.mime4j.message
> -- oaj.mime4j
> oaj.mime4j.field.datetime
> - oaj.mime4j.field.datetime.parser
> -- oaj.mime4j.field.datetime
> oaj.mime4j.decoder
> - oaj.mime4j.util
> -- oaj.mime4j.field
> --- oaj.mime4j.field.address
> ---- oaj.mime4j.decoder
> I think we should try to remove the dependencies until we are in a 0.x release. The sooner, the better, even if this break backward compatibility.
> WDYT?

-- 
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