summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/library/Collocated.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Freeze/library/Collocated.java')
-rw-r--r--java/demo/Freeze/library/Collocated.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/demo/Freeze/library/Collocated.java b/java/demo/Freeze/library/Collocated.java
index 6cecf6ed8c6..eef5dcdb598 100644
--- a/java/demo/Freeze/library/Collocated.java
+++ b/java/demo/Freeze/library/Collocated.java
@@ -35,7 +35,7 @@ class LibraryCollocated extends Ice.Application
// Create the library, and add it to the Object Adapter.
//
LibraryI library = new LibraryI(communicator(), _envName, "authors", evictor);
- adapter.add(library, Ice.Util.stringToIdentity("library"));
+ adapter.add(library, communicator().stringToIdentity("library"));
//
// Create and install a factory and initializer for books.