summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/library/LibraryI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Freeze/library/LibraryI.java')
-rw-r--r--java/demo/Freeze/library/LibraryI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/Freeze/library/LibraryI.java b/java/demo/Freeze/library/LibraryI.java
index cf99522e77d..295fcbbffd8 100644
--- a/java/demo/Freeze/library/LibraryI.java
+++ b/java/demo/Freeze/library/LibraryI.java
@@ -51,7 +51,7 @@ class LibraryI extends _LibraryDisp
// This can throw EvictorDeactivatedException (which indicates
// an internal error). The exception is currently ignored.
//
- _evictor.createObject(ident, bookI);
+ _evictor.add(bookI, ident);
try
{
@@ -213,7 +213,7 @@ class LibraryI extends _LibraryDisp
// indicates an internal error). The exception is
// currently ignored.
//
- _evictor.destroyObject(createBookIdentity(description.isbn));
+ _evictor.remove(createBookIdentity(description.isbn));
}
catch(Freeze.DatabaseException ex)
{