diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-01-17 15:14:30 +1100 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-01-17 15:14:30 +1100 |
commit | 61521a7c67d936706d0eb165e9377a556e55dc5a (patch) | |
tree | 88c92e124f0662fff60f5b5d68466d7fb59cba40 | |
parent | 96193a51c8164dd9e013b1f45f4d695cbb98ec5d (diff) | |
download | mongo-61521a7c67d936706d0eb165e9377a556e55dc5a.tar.gz |
Fix equals method in java API.
-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 86c2d4c93ab..a92247c7ebf 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 boolean equals(Cursor other) + public int equals(Cursor other) throws WiredTigerException { - return (equals_wrap(other) != 0); + return equals_wrap(other); } /** |