tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1137296 - /tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
Date Sun, 19 Jun 2011 06:12:55 GMT
Author: antelder
Date: Sun Jun 19 06:12:55 2011
New Revision: 1137296

URL: http://svn.apache.org/viewvc?rev=1137296&view=rev
Log:
Correct typo

Modified:
    tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java?rev=1137296&r1=1137295&r2=1137296&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
Sun Jun 19 06:12:55 2011
@@ -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;
     }
-
 }



Mime
View raw message