diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-08-22 00:06:02 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-08-22 00:06:02 +0000 |
commit | a21245de493fd741e3a561adfdb1ca951c30145c (patch) | |
tree | 566960b5671ec08fb74b15e45a0084c7e24b7ec9 /java/src/IceBox/ServiceManagerI.java | |
parent | minor reorg (diff) | |
download | ice-a21245de493fd741e3a561adfdb1ca951c30145c.tar.bz2 ice-a21245de493fd741e3a561adfdb1ca951c30145c.tar.xz ice-a21245de493fd741e3a561adfdb1ca951c30145c.zip |
bug 1156: removing deprecated Identity properties
Diffstat (limited to 'java/src/IceBox/ServiceManagerI.java')
-rw-r--r-- | java/src/IceBox/ServiceManagerI.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/src/IceBox/ServiceManagerI.java b/java/src/IceBox/ServiceManagerI.java index 34b60b09195..3c44b25e6e0 100644 --- a/java/src/IceBox/ServiceManagerI.java +++ b/java/src/IceBox/ServiceManagerI.java @@ -49,11 +49,7 @@ public class ServiceManagerI extends _ServiceManagerDisp Ice.Properties properties = _server.communicator().getProperties(); - String identity = properties.getProperty("IceBox.ServiceManager.Identity"); - if(identity.length() == 0) - { - identity = properties.getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager"; - } + String identity = properties.getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager"; adapter.add(this, _server.communicator().stringToIdentity(identity)); // |