eolivelli commented on a change in pull request #11347:
URL: https://github.com/apache/pulsar/pull/11347#discussion_r672191095
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
##########
@@ -1968,9 +1965,7 @@ public boolean hasMessageAvailable() throws
PulsarClientException {
}
private void
completehasMessageAvailableWithValue(CompletableFuture<Boolean> future, boolean
value) {
- internalPinnedExecutor.execute(() -> {
- future.complete(value);
- });
+ internalPinnedExecutor.execute(() -> future.complete(value));
Review comment:
can you please revert formatting ?
--
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]