diff options
author | Michi Henning <michi@zeroc.com> | 2002-09-20 01:42:12 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-09-20 01:42:12 +0000 |
commit | d851e849ee82d7d0ddbe7a25b1245349f0e45280 (patch) | |
tree | 357847ef56bc090c7bc45e0789717ae69fd2f08d /java | |
parent | catch std::exception (diff) | |
download | ice-d851e849ee82d7d0ddbe7a25b1245349f0e45280.tar.bz2 ice-d851e849ee82d7d0ddbe7a25b1245349f0e45280.tar.xz ice-d851e849ee82d7d0ddbe7a25b1245349f0e45280.zip |
Removed idempotent qualifier from destroy operations.
Diffstat (limited to 'java')
-rw-r--r-- | java/demo/Freeze/library/Library.ice | 6 | ||||
-rw-r--r-- | java/demo/Freeze/phonebook/PhoneBook.ice | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/java/demo/Freeze/library/Library.ice b/java/demo/Freeze/library/Library.ice index c557ddfba1b..a2bb43d7685 100644 --- a/java/demo/Freeze/library/Library.ice +++ b/java/demo/Freeze/library/Library.ice @@ -83,15 +83,13 @@ class Book /** * - * Destroy the book. [destroy] is nonmutating. It doesn't change - * the state of the Book. It removes the Book completely, but - * doesn't touch state. + * Destroy the book. * * @throws DatabaseException Raised if there is a problem with the * database system. * **/ - idempotent void destroy() + void destroy() throws DatabaseException; /** diff --git a/java/demo/Freeze/phonebook/PhoneBook.ice b/java/demo/Freeze/phonebook/PhoneBook.ice index d79574e4147..f5c68b9ee06 100644 --- a/java/demo/Freeze/phonebook/PhoneBook.ice +++ b/java/demo/Freeze/phonebook/PhoneBook.ice @@ -29,7 +29,7 @@ class Contact nonmutating string getPhone(); void setPhone(string phone); - idempotent void destroy() throws DatabaseException; + void destroy() throws DatabaseException; string name; string address; |