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:
Chang-Chi Hsu 2025-07-23 21:37:48 +08:00 committed by GitHub
parent 16c079ed23
commit 0086f24101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.