diff options
Diffstat (limited to 'cppe/src/IceE/Communicator.cpp')
-rwxr-xr-x | cppe/src/IceE/Communicator.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cppe/src/IceE/Communicator.cpp b/cppe/src/IceE/Communicator.cpp index bc60b3d6d7f..62cae3c1256 100755 --- a/cppe/src/IceE/Communicator.cpp +++ b/cppe/src/IceE/Communicator.cpp @@ -88,10 +88,7 @@ Ice::Communicator::createObjectAdapterWithEndpoints(const string& name, const st } catch(const AlreadyRegisteredException&) { - if(originalValue.length() != 0) - { - getProperties()->setProperty(propertyKey, originalValue); - } + getProperties()->setProperty(propertyKey, originalValue); throw; } } |