From 727684bf976a72d1a35508647ba57e2b62c5e2f0 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Wed, 25 Mar 2015 11:08:08 -0700 Subject: [PATCH] Fixed a typo in RocksDBSample.java Summary: Fixed a typo in RocksDBSample.java Test Plan: make clean make rocksdbjava -j32 make jtest --- java/samples/src/main/java/RocksDBSample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/samples/src/main/java/RocksDBSample.java b/java/samples/src/main/java/RocksDBSample.java index d5a0710d4..402fd8f89 100644 --- a/java/samples/src/main/java/RocksDBSample.java +++ b/java/samples/src/main/java/RocksDBSample.java @@ -112,7 +112,7 @@ public class RocksDBSample { assert(options.tableFactoryName().equals("BlockBasedTable")); try { - db = RocksDB.open(options, db_path_not_found); + db = RocksDB.open(options, db_path); db.put("hello".getBytes(), "world".getBytes()); byte[] value = db.get("hello".getBytes()); assert("world".equals(new String(value)));