You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/09/30 13:29:15 UTC

DO NOT REPLY [Bug 36876] New: - Remove dependence on Commons collection ArrayStack

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36876>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36876

           Summary: Remove dependence on Commons collection ArrayStack
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Digester
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: elharo@metalab.unc.edu


The web page states, "Digester has a dependency on Commons Collections. This
threatens to raise compatibility issues now that two incompatible series of
releases exist. Fortunately, this dependency is only upon a single mature class
(ArrayStack) and the versions of this class to be found in different versions of
the library are binary compatible." I just got back from SD Best Practices,
where Bob martin kept warning us about the evils of dependencies and coupling so
this really jumped out at me.

Dependencies in general are bad and significantly increase the complexity of a
product. Since this dependency is so small, it should be removed. A non-public
ArrayStack class should be  included in Digester directly. The code could be
adopted from Commons Collection with trivial changes. This would be one less
large JAR file to carry around, and would make installing and maintaining
Digester that much easier.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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