tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r801231 - /tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
Date Wed, 05 Aug 2009 13:56:12 GMT
Author: antelder
Date: Wed Aug  5 13:56:11 2009
New Revision: 801231

URL: http://svn.apache.org/viewvc?rev=801231&view=rev
Log:
TUSCANY-3195: fix code to not so aggresivly remove inherently-provided intents as suggested
by Greg Dritschler

Modified:
    tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java

Modified: tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java?rev=801231&r1=801230&r2=801231&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/PolicyConfigurationUtil.java
Wed Aug  5 13:56:11 2009
@@ -156,17 +156,7 @@
             //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);
-                    }
-                }
-            }
+
         }
     }
     



Mime
View raw message