From bca833be4dec4f00a140f962bfc34009665e64e7 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 18 Mar 2010 21:17:33 +0000 Subject: remove commented out code git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924998 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/builder/impl/ComponentPolicyBuilderImpl.java | 20 +------------------- 1 file changed, 1 insertion(+), 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 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 getPolicyNames(PolicySubject subject) { -- cgit v1.2.3