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 17:43:59 UTC
[jira] Resolved: (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 resolved TUSCANY-2803.
---------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-Next
Resolved in branch 1.x at revision: 740031. Thanks for bringing up the issue.
> 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
> Fix For: Java-SCA-Next
>
>
> 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.