tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1181649 - /tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
Date Tue, 11 Oct 2011 08:03:28 GMT
Author: antelder
Date: Tue Oct 11 08:03:27 2011
New Revision: 1181649

URL: http://svn.apache.org/viewvc?rev=1181649&view=rev
Log:
Update to not include the root contribution as a duplicate dependency

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=1181649&r1=1181648&r2=1181649&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
Tue Oct 11 08:03:27 2011
@@ -473,7 +473,7 @@ public class NodeImpl implements Node {
         } else {
             for (Import imprt : loadContribution(cd).getImports()) {
                 for (ContributionDescription exportingIC : findExportingContributions(imprt))
{
-                    if (!!!dependentContributions.containsKey(exportingIC.getURI())) {
+                    if (!!!dependentContributions.containsKey(exportingIC.getURI()) &&
!!!cd.getURI().equals(exportingIC.getURI())) {
                         dependentContributions.put(exportingIC.getURI(), loadContribution(exportingIC));
                     }
                 }



Mime
View raw message