diff options
author | Brent Eagles <brent@zeroc.com> | 2005-09-07 08:30:27 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-09-07 08:30:27 +0000 |
commit | a45bd9d63cc4d311813abb31f48f64418446e4f5 (patch) | |
tree | 0d069e018c538f8e3faa405bc75985d35ed0db6b /java/src | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=353 (diff) | |
download | ice-a45bd9d63cc4d311813abb31f48f64418446e4f5.tar.bz2 ice-a45bd9d63cc4d311813abb31f48f64418446e4f5.tar.xz ice-a45bd9d63cc4d311813abb31f48f64418446e4f5.zip |
removing bogus condition around setProperty() in exception handler
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/Ice/CommunicatorI.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/src/Ice/CommunicatorI.java b/java/src/Ice/CommunicatorI.java index d041bddd45e..d8d3c1c20a5 100644 --- a/java/src/Ice/CommunicatorI.java +++ b/java/src/Ice/CommunicatorI.java @@ -59,11 +59,7 @@ public final class CommunicatorI extends LocalObjectImpl implements Communicator } catch(AlreadyRegisteredException ex) { - // XXX: Why this? - if(originalValue.length() != 0) - { - getProperties().setProperty(propertyKey, originalValue); - } + getProperties().setProperty(propertyKey, originalValue); throw ex; } } |