diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-19 15:36:50 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-08-19 15:36:50 +0000 |
commit | 70262376b1dd5d59e1633c9c22250983b5c8a544 (patch) | |
tree | f31cbc3aa693445b040f1f6fe0c6b3f239b268bd /java/sca | |
parent | 5cb9df5238eee241c5dd05a1da08d11d1a05606b (diff) |
Fix OASIS test ASM_5016 - correct interface check order, note also requires TUSCANY-3218 and TUSCANY-3219 for OASIS fixes to get the test passing ok
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@805843 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r-- | java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java index f0cda80352..4b83606116 100644 --- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java +++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java @@ -544,8 +544,8 @@ public abstract class BaseBuilderImpl implements CompositeBuilder { if (componentReference.getInterfaceContract() != null) { if (interfaceContract != null && !componentReference.getInterfaceContract().equals(reference .getInterfaceContract())) { - if (!interfaceContractMapper.isCompatible(componentReference.getInterfaceContract(), - interfaceContract)) { + if (!interfaceContractMapper.isCompatible(interfaceContract, + componentReference.getInterfaceContract())) { error(monitor, "ReferenceIncompatibleComponentInterface", component, |