From f90a2c19d6809e9262b8cdd2d31c92a3da11f348 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Fri, 12 May 2006 16:19:39 +0000 Subject: Use communicator stringToIdentity --- java/test/Ice/operations/Server.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/test/Ice/operations/Server.java') diff --git a/java/test/Ice/operations/Server.java b/java/test/Ice/operations/Server.java index 5b6fa29073a..d7d387b9150 100644 --- a/java/test/Ice/operations/Server.java +++ b/java/test/Ice/operations/Server.java @@ -14,9 +14,9 @@ public class Server { communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp"); 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(); communicator.waitForShutdown(); -- cgit v1.2.3