Fixed a typo in RocksDBSample.java

Summary:
Fixed a typo in RocksDBSample.java

Test Plan:
make clean
make rocksdbjava -j32
make jtest
main
Yueh-Hsuan Chiang 10 years ago
parent ca25e86efc
commit 727684bf97
  1. 2
      java/samples/src/main/java/RocksDBSample.java

@ -112,7 +112,7 @@ public class RocksDBSample {
assert(options.tableFactoryName().equals("BlockBasedTable")); assert(options.tableFactoryName().equals("BlockBasedTable"));
try { try {
db = RocksDB.open(options, db_path_not_found); db = RocksDB.open(options, db_path);
db.put("hello".getBytes(), "world".getBytes()); db.put("hello".getBytes(), "world".getBytes());
byte[] value = db.get("hello".getBytes()); byte[] value = db.get("hello".getBytes());
assert("world".equals(new String(value))); assert("world".equals(new String(value)));

Loading…
Cancel
Save