diff options
author | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 06:35:34 +0000 |
---|---|---|
committer | bdaniel <bdaniel@13f79535-47bb-0310-9956-ffa450edef68> | 2010-02-25 06:35:34 +0000 |
commit | c98e9a5509dfe9e5b66a9e0f65803689097787be (patch) | |
tree | a62bad34ddfef6865daf5e6e77c9244b375c8d93 /sca-java-2.x/trunk/modules/policy-transaction-runtime/src | |
parent | 8fb127688889e64f76a96b3bcb76e0d6b3a33fde (diff) |
TUSCANY-3463 Fix ClassCastException
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916149 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/policy-transaction-runtime/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/policy-transaction-runtime/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionImplementationPolicyProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/policy-transaction-runtime/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionImplementationPolicyProvider.java b/sca-java-2.x/trunk/modules/policy-transaction-runtime/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionImplementationPolicyProvider.java index b0d3351992..f618ec0fd9 100644 --- a/sca-java-2.x/trunk/modules/policy-transaction-runtime/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionImplementationPolicyProvider.java +++ b/sca-java-2.x/trunk/modules/policy-transaction-runtime/src/main/java/org/apache/tuscany/sca/policy/transaction/runtime/TransactionImplementationPolicyProvider.java @@ -49,7 +49,7 @@ public class TransactionImplementationPolicyProvider extends BasePolicyProvider< for (PolicySet policySet : policySets) { for (PolicyExpression p : policySet.getPolicies()) { if (p.getPolicy() instanceof TransactionPolicy) { - TransactionInterceptor interceptor = new TransactionInterceptor(helper, false, (TransactionPolicy)p, null, getPhase()); + TransactionInterceptor interceptor = new TransactionInterceptor(helper, false, (TransactionPolicy)p.getPolicy(), null, getPhase()); return interceptor; } } |