mirror of
https://github.com/XRPLF/rippled.git
synced 2026-01-10 09:45:26 +00:00
[Java] Rename org.rocksdb.Iterator to org.rocksdb.RocksIterator.
Summary: Renamed Iterator to RocksIterator to avoid potential confliction with the Java built-in Iterator. Test Plan: make rocksdbjava make jtest Reviewers: haobo, dhruba, sdong, ankgup87 Reviewed By: sdong CC: leveldb, rsumbaly, swapnilghike, zzbennett Differential Revision: https://reviews.facebook.net/D18615
This commit is contained in:
@@ -186,7 +186,7 @@ public class RocksDBSample {
|
||||
assert(false); //Should never reach here.
|
||||
}
|
||||
|
||||
Iterator iterator = db.newIterator();
|
||||
RocksIterator iterator = db.newIterator();
|
||||
|
||||
boolean seekToFirstPassed = false;
|
||||
for (iterator.seekToFirst(); iterator.isValid(); iterator.next()) {
|
||||
|
||||
Reference in New Issue
Block a user