summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-06-19 06:12:55 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-06-19 06:12:55 +0000
commit63c1ddba4be63ca92bdbb6159d976158cea23bf7 (patch)
treee549b41e38085df5430b84c2c1875f5bfee0ed7d /sca-java-2.x/trunk/modules
parentc5d3f9f932075ecc7f45b866d8f1cf86537b49e0 (diff)
Correct typo
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137296 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
index aaafb16b85..fb98d39ab1 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
@@ -446,16 +446,15 @@ public class NodeImpl implements Node {
List<String> updated = new ArrayList<String>();
for (DeployedComposite dc : new ArrayList<DeployedComposite>(startedComposites.values())) {
if (dc.uses(contributionURI, compositeURI)) {
- String dcConttributionURI = dc.getContributionURIs().get(0);
+ String dcContributionURI = dc.getContributionURIs().get(0);
String dcCompositeURI = dc.getURI();
- stopComposite(dcConttributionURI, dcCompositeURI);
- String key = dcConttributionURI + "/" + dcCompositeURI;
+ stopComposite(dcContributionURI, dcCompositeURI);
+ String key = dcContributionURI + "/" + dcCompositeURI;
stoppedComposites.remove(key);
updated.add(key);
- startComposite(dcConttributionURI, dcCompositeURI);
+ startComposite(dcContributionURI, dcCompositeURI);
}
}
return updated;
}
-
}