diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-02 13:58:01 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-02 13:58:01 +0000 |
commit | 21208b1179836cfbe945e085753345cd81b12408 (patch) | |
tree | 13e78f591422a63f26aa3398053aee3d93ada00d /sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java | |
parent | 40dc8658b2cbf5856b5588a57ddcce62f46b1262 (diff) |
Change add/removeToDoamin method to have the contribution and composite uri as separate parameters
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981512 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java index 9c8219564e..7ff724b0bb 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java @@ -72,13 +72,7 @@ public class NodeFactory { String curi = node.installContribution(null, contributionURL, null, null, compositeURI == null); if (compositeURI != null) { - if (curi.endsWith("/")) { - curi = curi + compositeURI; - } else { - curi = curi + "/" + compositeURI; - } - // TODO: change addToDomainLevelComposite to take curi, compositeURI - node.addToDomainLevelComposite(curi); + node.addToDomainLevelComposite(curi, compositeURI); } return node; |