summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/builder/src/main/java
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-03 17:16:46 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-03-03 17:16:46 +0000
commitf107805b29332ba31b9185b2ee5f6e3cf9d7b37c (patch)
treec3f2b30dff3451d73bd20c68172350de79728c2a /sca-java-2.x/trunk/modules/builder/src/main/java
parent03f86043d8c509255dd2c430890da4f11095fefb (diff)
Adding FIXME as it seems that calling inherit for implementation duplicates all itents and policySets into the impl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@918588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/builder/src/main/java')
-rw-r--r--sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
index 0879136e64..23822b694e 100644
--- a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
+++ b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
@@ -120,6 +120,11 @@ public class ComponentPolicyBuilderImpl {
}
policySubject.getRequiredIntents().addAll(intents);
}
+ //FIXME this duplicates the intents for a implementation
+ //e.g <implementation.java requires="managedTransaction.local managedTransaction.local"
+ //becomes twice
+ //[{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.local,
+ //{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.local]
policySubject.getPolicySets().addAll(subject.getPolicySets());
}
}