summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-14 13:46:52 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-08-14 13:46:52 +0000
commit14cd6f4d9b362d7fc5a591959c9eaf8c08985230 (patch)
tree39593b0aebfa748c7d8f0260e97caeb3ab4c181f /java/sca/modules/assembly/src/main
parent9dc655d0faa51bb140a63341a46002e5cb91f15c (diff)
TUSCANY-2455: apply patch from Ramkumar Ramalingam for Exception not thrown on duplicate component names within a composite
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@685893 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/assembly/src/main')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseConfigurationBuilderImpl.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/BaseConfigurationBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseConfigurationBuilderImpl.java
index bbdb89ad3c..d7334467a7 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseConfigurationBuilderImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseConfigurationBuilderImpl.java
@@ -185,7 +185,7 @@ public abstract class BaseConfigurationBuilderImpl {
// Index all components and check for duplicates
if (components.containsKey(component.getName())) {
- warning("DuplicateComponentName", component, composite.getName().toString(), component.getName());
+ error("DuplicateComponentName", component, composite.getName().toString(), component.getName());
} else {
components.put(component.getName(), component);
}