Merge pull request #504 from fyrz/RocksJava-Flush-Correction

[RocksJava] FlushOptions Correction
main
Igor Canadi 10 years ago
commit 2d62e80511
  1. 2
      java/src/main/java/org/rocksdb/FlushOptions.java

@ -24,7 +24,7 @@ public class FlushOptions extends RocksObject {
*/ */
public FlushOptions setWaitForFlush(boolean waitForFlush) { public FlushOptions setWaitForFlush(boolean waitForFlush) {
assert(isInitialized()); assert(isInitialized());
waitForFlush(nativeHandle_); setWaitForFlush(nativeHandle_, waitForFlush);
return this; return this;
} }

Loading…
Cancel
Save