m1a2st commented on code in PR #20156:
URL: https://github.com/apache/kafka/pull/20156#discussion_r2204747748


##########
connect/runtime/src/test/java/org/apache/kafka/connect/integration/ConnectorHandle.java:
##########
@@ -284,7 +283,7 @@ public StartAndStopLatch expectedStarts(int expectedStarts, 
boolean includeTasks
                 ? taskHandles.values().stream()
                 .map(task -> task.expectedStarts(expectedStarts))
                 .collect(Collectors.toList())

Review Comment:
   ```suggestion
                   .toList()
   ```
   
   Could you check other `collect(Collectors.toList())` usage and change to ` 
.toList()`



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to