summaryrefslogtreecommitdiff
path: root/java/demo/Ice/nested/Client.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Ice/nested/Client.java')
-rw-r--r--java/demo/Ice/nested/Client.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/Ice/nested/Client.java b/java/demo/Ice/nested/Client.java
index c3215782ffd..96addcfb717 100644
--- a/java/demo/Ice/nested/Client.java
+++ b/java/demo/Ice/nested/Client.java
@@ -31,8 +31,8 @@ public class Client extends Ice.Application
}
Ice.ObjectAdapter adapter = communicator().createObjectAdapter("Nested.Client");
- NestedPrx self = NestedPrxHelper.uncheckedCast(adapter.createProxy(Ice.Util.stringToIdentity("nestedClient")));
- adapter.add(new NestedI(self), Ice.Util.stringToIdentity("nestedClient"));
+ NestedPrx self = NestedPrxHelper.uncheckedCast(adapter.createProxy(communicator().stringToIdentity("nestedClient")));
+ adapter.add(new NestedI(self), communicator().stringToIdentity("nestedClient"));
adapter.activate();
System.out.println("Note: The maximum nesting level is sz * 2, with sz being");