commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahim Djoudi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COLLECTIONS-483) Cyclic dependencies among several packages.
Date Thu, 19 Sep 2013 06:28:52 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771630#comment-13771630
] 

Brahim Djoudi commented on COLLECTIONS-483:
-------------------------------------------

It's not really a bug to fix (in the releases indicated for instance), just a proposal to
improve the package breakdown.
In other words, it's essentially a preventive processing rather than a curative action.

The OSGi bundle is actually modular since it contains packages exported with version numbers.
However, I quite agree: you could drop all the classes in a single package and all had worked
fine as well ;)
                
> Cyclic dependencies among several packages.
> -------------------------------------------
>
>                 Key: COLLECTIONS-483
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-483
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: 4.0, 4.0-alpha1
>            Reporter: Brahim Djoudi
>            Priority: Minor
>         Attachments: c4.png, c4-refactored.png, c4-src.zip
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Many packages have mutual dependency, directly or undirectly.
> These dependencies may be avoided just by moving some classes and interfaces within different
packages.
> This refactoring breaks API compatibility but enhances the useability and the maintainability
(hopefully) of the library. In addition, few issues in dynamic environments (like OSGi) less
occur.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message