summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-09-07 08:30:27 +0000
committerBrent Eagles <brent@zeroc.com>2005-09-07 08:30:27 +0000
commita45bd9d63cc4d311813abb31f48f64418446e4f5 (patch)
tree0d069e018c538f8e3faa405bc75985d35ed0db6b /cppe/src
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353 (diff)
downloadice-a45bd9d63cc4d311813abb31f48f64418446e4f5.tar.bz2
ice-a45bd9d63cc4d311813abb31f48f64418446e4f5.tar.xz
ice-a45bd9d63cc4d311813abb31f48f64418446e4f5.zip
removing bogus condition around setProperty() in exception handler
Diffstat (limited to 'cppe/src')
-rwxr-xr-xcppe/src/IceE/Communicator.cpp5
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;
}
}