From c5692e414b93c3ecc4745b8026ad48bcb0b0d8e7 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 5 Aug 2009 13:56:11 +0000 Subject: 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 --- .../sca/assembly/builder/impl/PolicyConfigurationUtil.java | 12 +----------- 1 file changed, 1 insertion(+), 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 requiredIntents = new ArrayList(confOp.getRequiredIntents()); - for ( Intent intent : requiredIntents ) { - if ( isProvidedInherently(attachPointType, intent) ) { - confOp.getRequiredIntents().remove(intent); - } - } - } + } } -- cgit v1.2.3