summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/builder/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/modules/builder/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java20
1 files changed, 1 insertions, 19 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 c916c5450e..a5ad40df86 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
@@ -346,20 +346,7 @@ public class ComponentPolicyBuilderImpl {
resolveAndNormalize(subject, context);
checkMutualExclusion(subject, context);
-
-/*
- List<Intent> intents = subject.getRequiredIntents();
- int size = intents.size();
- for (int i = 0; i < size; i++) {
- for (int j = i + 1; j < size; j++) {
- Intent i1 = intents.get(i);
- Intent i2 = intents.get(j);
- if (checkMutualExclusion(i1, i2, context)){
- return true;
- }
- }
- }
-*/
+
return false;
}
@@ -540,11 +527,6 @@ public class ComponentPolicyBuilderImpl {
warning(context.getMonitor(), "IntentNotSatisfiedAtBuild", subject, intent.getName(), subject.toString());
}
}
-
-
- //subject.getPolicySets().clear();
- //subject.getPolicySets().addAll(policySets);
-
}
protected Set<QName> getPolicyNames(PolicySubject subject) {