summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 13:56:11 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 13:56:11 +0000
commitc5692e414b93c3ecc4745b8026ad48bcb0b0d8e7 (patch)
treef5149a09fc71065adb32a9d8a04920e94ba370ec
parent809fc112853dbc527ac7dd0d29a6caf0abe0cfd5 (diff)
TUSCANY-3195: fix code to not so aggresivly remove inherently-provided intents as suggested by Greg Dritschler
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801231 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java b/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
index c0bc18dfaf..5061ac6bac 100644
--- a/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
+++ b/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
@@ -156,17 +156,7 @@ abstract class PolicyConfigurationUtil {
//remove duplicates and ...
//where qualified form of intent exists retain it and remove the qualifiable intent
filterDuplicatesAndQualifiableIntents(confOp);
-
- //exclude intents that are inherently supported by the parent
- //attachpoint-type (binding-type / implementation-type)
- if ( attachPointType != null ) {
- List<Intent> requiredIntents = new ArrayList<Intent>(confOp.getRequiredIntents());
- for ( Intent intent : requiredIntents ) {
- if ( isProvidedInherently(attachPointType, intent) ) {
- confOp.getRequiredIntents().remove(intent);
- }
- }
- }
+
}
}