summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 16:00:34 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 16:00:34 +0000
commitcc9aef62a8bf942dc80d8ed2213265b06f78e579 (patch)
tree390beab6fb30e8d0040a7328ff624125f9ee0e6f /java/sca
parent55eeba2a6a5d50ebdd1682bf9765128cfb6ec4dc (diff)
Change warning to error as per spec. Caught when running ASM_8010
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799649 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.java8
1 files changed, 4 insertions, 4 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 2a9bdfc999..5b097fe393 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
@@ -234,10 +234,10 @@ public class CompositePromotionBuilderImpl extends BaseBuilderImpl implements Co
interfaceContractMapper.isCompatible(componentReferenceInterfaceContract,
compositeReferenceInterfaceContract);
if (!isCompatible) {
- warning(monitor,
- "ReferenceInterfaceNotSubSet",
- compositeReference,
- componentReferenceName);
+ error(monitor,
+ "ReferenceInterfaceNotSubSet",
+ compositeReference,
+ componentReferenceName);
}
}
} else {