tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r918588 - /tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
Date Wed, 03 Mar 2010 17:16:46 GMT
Author: lresende
Date: Wed Mar  3 17:16:46 2010
New Revision: 918588

URL: http://svn.apache.org/viewvc?rev=918588&view=rev
Log:
Adding FIXME as it seems that calling inherit for implementation duplicates all itents and
policySets into the impl

Modified:
    tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java?rev=918588&r1=918587&r2=918588&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentPolicyBuilderImpl.java
Wed Mar  3 17:16:46 2010
@@ -120,6 +120,11 @@
                     }
                     policySubject.getRequiredIntents().addAll(intents);
                 }
+                //FIXME this duplicates the intents for a implementation
+                //e.g <implementation.java requires="managedTransaction.local managedTransaction.local"

+                //becomes twice
+                //[{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.local,

+                //{http://docs.oasis-open.org/ns/opencsa/sca/200912}managedTransaction.local]
                 policySubject.getPolicySets().addAll(subject.getPolicySets());
             }
         }



Mime
View raw message