summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {