summaryrefslogtreecommitdiff
path: root/java/test/Glacier2/router/CallbackServer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Glacier2/router/CallbackServer.java')
-rw-r--r--java/test/Glacier2/router/CallbackServer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/test/Glacier2/router/CallbackServer.java b/java/test/Glacier2/router/CallbackServer.java
index 5fbdcd09645..79650ddc031 100644
--- a/java/test/Glacier2/router/CallbackServer.java
+++ b/java/test/Glacier2/router/CallbackServer.java
@@ -17,13 +17,13 @@ class CallbackServer extends Ice.Application
communicator().getProperties().setProperty("CallbackAdapter.Endpoints", "tcp -p 12010 -t 10000");
Ice.ObjectAdapter adapter = communicator().createObjectAdapter("CallbackAdapter");
adapter.add(new CallbackI(),
- Ice.Util.stringToIdentity("c1/callback")); // The test allows "c1" as category.
+ communicator().stringToIdentity("c1/callback")); // The test allows "c1" as category.
adapter.add(new CallbackI(),
- Ice.Util.stringToIdentity("c2/callback")); // The test allows "c2" as category.
+ communicator().stringToIdentity("c2/callback")); // The test allows "c2" as category.
adapter.add(new CallbackI(),
- Ice.Util.stringToIdentity("c3/callback")); // The test rejects "c3" as category.
+ communicator().stringToIdentity("c3/callback")); // The test rejects "c3" as category.
adapter.add(new CallbackI(),
- Ice.Util.stringToIdentity("_userid/callback")); // The test allows the prefixed userid.
+ communicator().stringToIdentity("_userid/callback")); // The test allows the prefixed userid.
adapter.activate();
communicator().waitForShutdown();
return 0;