[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-409) AbstractDependencyInfo.resolve() is inefficient

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed Feb 18 07:12:44 EST 2009


AbstractDependencyInfo.resolve() is inefficient
-----------------------------------------------

                 Key: JBMICROCONT-409
                 URL: https://jira.jboss.org/jira/browse/JBMICROCONT-409
             Project: JBoss Microcontainer
          Issue Type: Task
          Components: Dependency
    Affects Versions: JBossMC-2.0.3.GA
            Reporter: Adrian Brock
            Assignee: Adrian Brock
             Fix For: JBossMC-2.0.4.GA,  JBossMC-2.2.0.Beta1


AbstractDependency.resolve() is inefficient since it uses the getUnresolvedDependencies() which in turn
uses the "unmaintained" unresolved set of depedency items.

This means that already resolved dependencies are being asked again if they are resolved.

The "unresolved" should be removed since it is redundant and getUnresolvedDependencies()
should look at the "iDependOn" that have isResolved() == false

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list