diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-31 13:42:39 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-31 13:42:39 +0000 |
commit | 55eeba2a6a5d50ebdd1682bf9765128cfb6ec4dc (patch) | |
tree | d8196d5d4f442a8248f6e5500d483868064f580e /java/sca/modules/assembly | |
parent | ae00b1ad865787922f3957fe7c2890a743dda518 (diff) |
Turn incompatible interface warning into an error to match spec. Specifically ASM_8008
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799607 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly')
-rw-r--r-- | java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseBuilderImpl.java | 10 |
1 files changed, 5 insertions, 5 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 ef0da067bf..09b19dd7b3 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 @@ -518,11 +518,11 @@ public abstract class BaseBuilderImpl implements CompositeBuilder { .getInterfaceContract())) { if (!interfaceContractMapper.isCompatible(componentReference.getInterfaceContract(), interfaceContract)) { - warning(monitor, - "ReferenceIncompatibleComponentInterface", - component, - component.getName(), - componentReference.getName()); + error(monitor, + "ReferenceIncompatibleComponentInterface", + component, + component.getName(), + componentReference.getName()); } } } else { |