From eaf39568e5fc50e7b09d790486655ad1270ff3af Mon Sep 17 00:00:00 2001 From: fyrz Date: Thu, 12 Feb 2015 17:31:38 +0100 Subject: [PATCH] [RocksJava] FlushOptions Correction SetWaitForFlush did not set flush properly. --- java/src/main/java/org/rocksdb/FlushOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/org/rocksdb/FlushOptions.java b/java/src/main/java/org/rocksdb/FlushOptions.java index e481c7664..927c8dccc 100644 --- a/java/src/main/java/org/rocksdb/FlushOptions.java +++ b/java/src/main/java/org/rocksdb/FlushOptions.java @@ -24,7 +24,7 @@ public class FlushOptions extends RocksObject { */ public FlushOptions setWaitForFlush(boolean waitForFlush) { assert(isInitialized()); - waitForFlush(nativeHandle_); + setWaitForFlush(nativeHandle_, waitForFlush); return this; }