diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-01-17 09:46:27 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-01-17 09:46:27 +1100 |
commit | f54fa988a9ed220d6ec5265e113c8f2d5aca6c6a (patch) | |
tree | 47c8382b8aaa3ed1fd58bb0a0813fcd15b7470f5 /lang | |
parent | 45f33ed1b5e44eb8c4fe63f7c10e47169e8b9793 (diff) | |
download | mongo-f54fa988a9ed220d6ec5265e113c8f2d5aca6c6a.tar.gz |
Make Cursor.equals return a boolean in Java.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/java/wiredtiger.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/java/wiredtiger.i b/lang/java/wiredtiger.i index a92247c7ebf..86c2d4c93ab 100644 --- a/lang/java/wiredtiger.i +++ b/lang/java/wiredtiger.i @@ -1635,9 +1635,9 @@ WT_ASYNC_CALLBACK javaApiAsyncHandler = {javaAsyncHandler}; * * \return The result of the comparison. */ - public int equals(Cursor other) + public boolean equals(Cursor other) throws WiredTigerException { - return equals_wrap(other); + return (equals_wrap(other) != 0); } /** |