Add doc and end of line

This commit is contained in:
Ankit Gupta
2014-06-22 13:27:22 -07:00
parent 143ee5a1c1
commit e0ebea6cc2
7 changed files with 8 additions and 10 deletions

View File

@@ -93,10 +93,7 @@ public class RocksDB extends RocksObject {
// This allows to use the rocksjni default Options instead of
// the c++ one.
Options options = new Options();
db.open(options.nativeHandle_, options.cacheSize_, path);
db.transferCppRawPointersOwnershipFrom(options);
options.dispose();
return db;
return open(options, path);
}
/**