You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dan Becker (JIRA)" <de...@tuscany.apache.org> on 2009/02/02 16:57:59 UTC

[jira] Assigned: (TUSCANY-2803) Module "Apache Tuscany SCA Node Implementation Model": stop searching after the first matching component.

     [ https://issues.apache.org/jira/browse/TUSCANY-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Becker reassigned TUSCANY-2803:
-----------------------------------

    Assignee: Dan Becker

> Module "Apache Tuscany SCA Node Implementation Model": stop searching after the first matching component.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2803
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2803
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.4
>            Reporter: Radu Fantaziu
>            Assignee: Dan Becker
>            Priority: Minor
>
> The following code extracted from org.apache.tuscany.sca.node.impl.NodeImpl.getServiceReference()
> ....
>         for (Component compositeComponent : composite.getComponents()) {
>             if (compositeComponent.getName().equals(componentName)) {
>                 component = compositeComponent;
>             }
>         }
> ....
> should be:
> ......
>         for (Component compositeComponent : composite.getComponents()) {
>             if (compositeComponent.getName().equals(componentName)) {
>                 component = compositeComponent;
>                 break;
>             }
>         }
> .....

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.