summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/library/LibraryI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-05-18 14:03:42 -0700
committerMark Spruiell <mes@zeroc.com>2009-05-18 14:03:42 -0700
commitb30ccc77d3a9822c6ffcebf9b45945822df200bc (patch)
tree94105ea42fa81ad0b8731b05a46c7f64304dec55 /java/demo/Freeze/library/LibraryI.java
parentRemoved Freeze.UseNonmutating (diff)
downloadice-b30ccc77d3a9822c6ffcebf9b45945822df200bc.tar.bz2
ice-b30ccc77d3a9822c6ffcebf9b45945822df200bc.tar.xz
ice-b30ccc77d3a9822c6ffcebf9b45945822df200bc.zip
bug 252 - Freeze finalizers
bug 2552 - Update Freeze for Java5
Diffstat (limited to 'java/demo/Freeze/library/LibraryI.java')
-rw-r--r--java/demo/Freeze/library/LibraryI.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/demo/Freeze/library/LibraryI.java b/java/demo/Freeze/library/LibraryI.java
index ca09c0fb908..9035731ac7f 100644
--- a/java/demo/Freeze/library/LibraryI.java
+++ b/java/demo/Freeze/library/LibraryI.java
@@ -55,7 +55,7 @@ class LibraryI extends _LibraryDisp
//
// Add the isbn number to the authors map.
//
- String[] isbnSeq = (String[])_authors.get(description.authors);
+ String[] isbnSeq = _authors.get(description.authors);
int length = (isbnSeq == null) ? 0 : isbnSeq.length;
String[] newIsbnSeq = new String[length+1];
@@ -111,7 +111,7 @@ class LibraryI extends _LibraryDisp
// Lookup all books that match the given authors, and
// return them to the caller.
//
- String[] isbnSeq = (String[])_authors.get(authors);
+ String[] isbnSeq = _authors.get(authors);
int length = (isbnSeq == null) ? 0 : isbnSeq.length;
BookPrx[] books = new BookPrx[length];
@@ -156,7 +156,7 @@ class LibraryI extends _LibraryDisp
{
try
{
- String[] isbnSeq = (String[])_authors.get(description.authors);
+ String[] isbnSeq = _authors.get(description.authors);
assert isbnSeq != null;