summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 21:17:33 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-03-18 21:17:33 +0000
commitbca833be4dec4f00a140f962bfc34009665e64e7 (patch)
treed0775ae92d7c433a954cf062da1e80315efd9084
parent100166aceb987232e5cf80ba1a606b566429e70a (diff)
remove commented out code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@924998 13f79535-47bb-0310-9956-ffa450edef68
-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) {