Skip to content

Commit 0086f24

Browse files
MINOR: Declare the inner RocksDBDualCFRangeIterator class as static (#20220)
Make inner classes static. from: #20182 (comment) Reviewers: Ken Huang <[email protected]>, Chia-Ping Tsai <[email protected]>
1 parent 16c079e commit 0086f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBTimestampedStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public void onClose(final Runnable closeCallback) {
404404
}
405405
}
406406

407-
private class RocksDBDualCFRangeIterator extends RocksDBDualCFIterator {
407+
private static class RocksDBDualCFRangeIterator extends RocksDBDualCFIterator {
408408
// RocksDB's JNI interface does not expose getters/setters that allow the
409409
// comparator to be pluggable, and the default is lexicographic, so it's
410410
// safe to just force lexicographic comparator here for now.

0 commit comments

Comments
 (0)