summaryrefslogtreecommitdiff
path: root/java/test/Ice/operations/Collocated.java
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/test/Ice/operations/Collocated.java
parentUse commuinicator-stringToIdentity (diff)
downloadice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.tar.bz2
ice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.tar.xz
ice-f90a2c19d6809e9262b8cdd2d31c92a3da11f348.zip
Use communicator stringToIdentity
Diffstat (limited to 'java/test/Ice/operations/Collocated.java')
-rw-r--r--java/test/Ice/operations/Collocated.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/Ice/operations/Collocated.java b/java/test/Ice/operations/Collocated.java
index c39aa334315..b9e984dc00d 100644
--- a/java/test/Ice/operations/Collocated.java
+++ b/java/test/Ice/operations/Collocated.java
@@ -14,9 +14,9 @@ public class Collocated
{
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
- Ice.Identity id = Ice.Util.stringToIdentity("test");
+ Ice.Identity id = communicator.stringToIdentity("test");
adapter.add(new MyDerivedClassI(adapter, id), id);
- adapter.add(new TestCheckedCastI(), Ice.Util.stringToIdentity("context"));
+ adapter.add(new TestCheckedCastI(), communicator.stringToIdentity("context"));
adapter.activate();
AllTests.allTests(communicator, true);