summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/domain-node/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-25 13:53:13 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-25 13:53:13 +0000
commit026e154573a306049c9f3bbe5875820864d2b7bd (patch)
treeeb05c255f0caa28cac723f7d0f982e1844d0ef77 /sca-java-2.x/trunk/modules/domain-node/src/main
parent20e087257ce2ce5a645b961a6b7f2de3c12d219d (diff)
Fix to use a new List for the deployables as the List in the contribution gets over written
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1039044 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/impl/InstalledContribution.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/impl/InstalledContribution.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/impl/InstalledContribution.java
index d306e52121..d847c8d199 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/impl/InstalledContribution.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/impl/InstalledContribution.java
@@ -38,7 +38,7 @@ public class InstalledContribution {
this.uri = uri;
this.url = url;
this.contribution = contribution;
- this.defaultDeployables = contribution.getDeployables();
+ this.defaultDeployables = new ArrayList<Composite>(contribution.getDeployables());
this.dependentContributionURIs = dependentContributionURIs;
}
public Contribution getContribution() {