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
This commit is contained in:
parent
9c319b4743
commit
58f3dfa30d
1 changed files with 0 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue