lhotari commented on code in PR #17241:
URL: https://github.com/apache/pulsar/pull/17241#discussion_r952838957
##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/cache/RangeEntryCacheImpl.java:
##########
@@ -256,6 +271,77 @@ public void asyncReadEntry(ReadHandle lh, long firstEntry,
long lastEntry, boole
}
}
+ @AllArgsConstructor
+ private static final class ReadEntriesCallbackWithContext {
+ ReadEntriesCallback callback;
+ Object ctx;
Review Comment:
make fields `final`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]