Skip to content

Commit 2ffffef

Browse files
committed
- fix formatting
1 parent aaac8f7 commit 2ffffef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/redis/clients/jedis/providers/MultiClusterPooledConnectionProvider.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ private void processPendingHealthStatusChanges() {
336336
// Process all queued events
337337
while ((event = pendingHealthStatusChanges.poll()) != null) {
338338
Endpoint endpoint = event.getEndpoint();
339-
boolean latestInTheQueue = !pendingHealthStatusChanges.stream().anyMatch(e -> e.getEndpoint().equals(endpoint));
339+
boolean latestInTheQueue = !pendingHealthStatusChanges.stream()
340+
.anyMatch(e -> e.getEndpoint().equals(endpoint));
340341
if (latestInTheQueue) {
341342
processStatusChangeEvent(event);
342343
}

0 commit comments

Comments
 (0)