[jboss-jira] [JBoss JIRA] (AS7-6189) Incorrect use of equals in SubDeploymentDependencyProcessor.deploy(DeploymentPhaseContext)

Stephen Coy (JIRA) jira-events at lists.jboss.org
Sat Dec 15 22:37:08 EST 2012


     [ https://issues.jboss.org/browse/AS7-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Coy updated AS7-6189:
-----------------------------

    Description: 
This loop appears to confuse ModuleDependency and ModuleIdentifier:
{code:java}
            for (ModuleDependency identifier : accessibleModules) {
                if (!identifier.equals(moduleIdentifier)) {
                    moduleSpec.addLocalDependency(identifier);
                }
            }
{code}

    
> Incorrect use of equals in SubDeploymentDependencyProcessor.deploy(DeploymentPhaseContext)
> ------------------------------------------------------------------------------------------
>
>                 Key: AS7-6189
>                 URL: https://issues.jboss.org/browse/AS7-6189
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Stephen Coy
>
> This loop appears to confuse ModuleDependency and ModuleIdentifier:
> {code:java}
>             for (ModuleDependency identifier : accessibleModules) {
>                 if (!identifier.equals(moduleIdentifier)) {
>                     moduleSpec.addLocalDependency(identifier);
>                 }
>             }
> {code}

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


More information about the jboss-jira mailing list