diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/StructuralURIBuilderImpl.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/StructuralURIBuilderImpl.java b/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/StructuralURIBuilderImpl.java index defafcddb7..b543e3347d 100644 --- a/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/StructuralURIBuilderImpl.java +++ b/java/sca/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/StructuralURIBuilderImpl.java @@ -71,10 +71,6 @@ public class StructuralURIBuilderImpl implements CompositeBuilder { Binding existed = bindingMap.put(binding.getName(), binding); // Check that multiple bindings do not have the same name if (existed != null && existed != binding) { - if(binding.getClass() != existed.getClass()) { - // Look for a binding of the same type - continue; - } if (contract instanceof Service) { Monitor.error(monitor, this, Messages.ASSEMBLY_VALIDATION, "MultipleBindingsForService", contract .getName(), binding.getName()); |