[RocksJava] Minor correction to the previous pull request merge

This commit is contained in:
fyrz 2014-10-28 00:07:53 +01:00
parent f94f1a97d7
commit 45e756f04a

View File

@ -23,7 +23,7 @@ public class RocksIterator extends RocksObject {
super();
nativeHandle_ = nativeHandle;
// rocksDB must point to a valid RocksDB instance.
assert(rocksDB);
assert(rocksDB != null);
// RocksIterator must hold a reference to the related RocksDB instance
// to guarantee that while a GC cycle starts RocksDBIterator instances
// are freed prior to RocksDB instances.