summaryrefslogtreecommitdiff
path: root/java/src/IceBox/ServiceManagerI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-08-22 00:06:02 +0000
committerMark Spruiell <mes@zeroc.com>2006-08-22 00:06:02 +0000
commita21245de493fd741e3a561adfdb1ca951c30145c (patch)
tree566960b5671ec08fb74b15e45a0084c7e24b7ec9 /java/src/IceBox/ServiceManagerI.java
parentminor reorg (diff)
downloadice-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.java6
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));
//