summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-12 16:19:39 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-12 16:19:39 +0000
commitf90a2c19d6809e9262b8cdd2d31c92a3da11f348 (patch)
treea5bdbc4c35932d9cfa360fbcfed3ac918f60c29b /java/src
parentUse commuinicator-stringToIdentity (diff)
downloadice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.tar.bz2
ice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.tar.xz
ice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.zip
Use communicator stringToIdentity
Diffstat (limited to 'java/src')
-rw-r--r--java/src/IceBox/ServiceManagerI.java2
-rw-r--r--java/src/IceInternal/ReferenceFactory.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/src/IceBox/ServiceManagerI.java b/java/src/IceBox/ServiceManagerI.java
index f61143cd1a7..445e01744bd 100644
--- a/java/src/IceBox/ServiceManagerI.java
+++ b/java/src/IceBox/ServiceManagerI.java
@@ -54,7 +54,7 @@ public class ServiceManagerI extends _ServiceManagerDisp
{
identity = properties.getPropertyWithDefault("IceBox.InstanceName", "IceBox") + "/ServiceManager";
}
- adapter.add(this, Ice.Util.stringToIdentity(identity));
+ adapter.add(this, _server.communicator().stringToIdentity(identity));
//
// Parse the IceBox.LoadOrder property.
diff --git a/java/src/IceInternal/ReferenceFactory.java b/java/src/IceInternal/ReferenceFactory.java
index 31a4923f613..da999462291 100644
--- a/java/src/IceInternal/ReferenceFactory.java
+++ b/java/src/IceInternal/ReferenceFactory.java
@@ -170,7 +170,7 @@ public final class ReferenceFactory
//
// Parsing the identity may raise IdentityParseException.
//
- Ice.Identity ident = Ice.Util.stringToIdentity(idstr);
+ Ice.Identity ident = _communicator.stringToIdentity(idstr);
if(ident.name.length() == 0)
{