mirror of https://github.com/apache/kafka.git
MINOR: Declare the inner RocksDBDualCFRangeIterator class as static (#20220)
Make inner classes static. from: https://github.com/apache/kafka/pull/20182#issuecomment-3102893453 Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
16c079ed23
commit
0086f24101
|
@ -404,7 +404,7 @@ public class RocksDBTimestampedStore extends RocksDBStore implements Timestamped
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class RocksDBDualCFRangeIterator extends RocksDBDualCFIterator {
|
private static class RocksDBDualCFRangeIterator extends RocksDBDualCFIterator {
|
||||||
// RocksDB's JNI interface does not expose getters/setters that allow the
|
// RocksDB's JNI interface does not expose getters/setters that allow the
|
||||||
// comparator to be pluggable, and the default is lexicographic, so it's
|
// comparator to be pluggable, and the default is lexicographic, so it's
|
||||||
// safe to just force lexicographic comparator here for now.
|
// safe to just force lexicographic comparator here for now.
|
||||||
|
|
Loading…
Reference in New Issue