chia7712 commented on code in PR #19611: URL: https://github.com/apache/kafka/pull/19611#discussion_r2095033588
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/SubscribedTopicDescriberImpl.java: ########## @@ -112,7 +112,7 @@ public Set<Integer> assignablePartitions(Uuid topicId) { } if (topicPartitionAllowedMap.isEmpty()) { - return Set.copyOf(topic.partitions().keySet()); + return topic.partitions().keySet(); Review Comment: @dajac is right, we can remove the wrap in addressing KAFKA-19305 -- 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