summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
index 440bd340fc..fba6af7e7f 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java
@@ -91,7 +91,7 @@ public class CompositeImpl extends ImplementationImpl implements Composite, Clon
}
// Clone the includes
- clone.includes = new ArrayList<Composite>(includes);
+ clone.includes = new ArrayList<Composite>();
for (Composite included : getIncludes()) {
clone.includes.add((Composite)included.clone());
}