summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 16:28:55 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 16:28:55 +0000
commit470c2b1c67c73ddaa2e74b91e045d6c8b1835427 (patch)
treef965cc96280617a8280c8adf6c2789976af6e375 /java/sca
parentcc9aef62a8bf942dc80d8ed2213265b06f78e579 (diff)
Change warning to error as per spec. Caught when running ASM_8011
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799654 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/CompositePromotionBuilderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePromotionBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePromotionBuilderImpl.java
index 5b097fe393..bf1d75b236 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePromotionBuilderImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePromotionBuilderImpl.java
@@ -156,7 +156,7 @@ public class CompositePromotionBuilderImpl extends BaseBuilderImpl implements Co
interfaceContractMapper.isCompatible(compositeServiceInterfaceContract,
promotedServiceInterfaceContract);
if (!isCompatible) {
- warning(monitor, "ServiceInterfaceNotSubSet", compositeService, promotedServiceName);
+ error(monitor, "ServiceInterfaceNotSubSet", compositeService, promotedServiceName);
}
}