diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-26 17:47:39 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-26 17:47:39 +0000 |
commit | 58f3dfa30d69a869d7195cbba8b6d52b454b603a (patch) | |
tree | 122798e96c7f5b17e7b0bd8824cbee0689e38350 /java/sca/modules | |
parent | 9c319b4743be191ad2fe99b1537a21598b6abca9 (diff) |
Reverting changes from r829707 and setting different binding name on binding element to avoid name conflict
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829877 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-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()); |