You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/15 03:04:46 UTC

[GitHub] [kafka] tang7526 commented on a change in pull request #10124: MINOR: apply Utils.isBlank to code base

tang7526 commented on a change in pull request #10124:
URL: https://github.com/apache/kafka/pull/10124#discussion_r575919779



##########
File path: clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java
##########
@@ -1106,11 +1107,13 @@ public void assign(Collection<TopicPartition> partitions) {
             } else if (partitions.isEmpty()) {
                 this.unsubscribe();
             } else {
-                for (TopicPartition tp : partitions) {
+                partitions.forEach(tp -> {

Review comment:
       OK. I have reverted un-related changes.




----------------------------------------------------------------
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.

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