diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-05-18 14:03:42 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-05-18 14:03:42 -0700 |
commit | b30ccc77d3a9822c6ffcebf9b45945822df200bc (patch) | |
tree | 94105ea42fa81ad0b8731b05a46c7f64304dec55 /java/demo/Freeze/library/LibraryI.java | |
parent | Removed Freeze.UseNonmutating (diff) | |
download | ice-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.java | 6 |
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; |