joshua2519 commented on code in PR #20293:
URL: https://github.com/apache/kafka/pull/20293#discussion_r2393390198


##########
tools/src/test/java/org/apache/kafka/tools/streams/StreamsGroupCommandTest.java:
##########
@@ -529,14 +567,6 @@ private DescribeStreamsGroupsResult 
describeStreamsResult(String groupId, GroupS
         return new DescribeStreamsGroupsResult(Map.of(groupId, future));
     }
 
-    private DescribeTopicsResult describeTopicsResult(Collection<String> 
topics, int numOfPartitions) {
-        var topicDescriptions = 
topics.stream().collect(Collectors.toMap(Function.identity(),
-            topic -> new TopicDescription(topic, false, IntStream.range(0, 
numOfPartitions)
-                .mapToObj(i -> new TopicPartitionInfo(i, null, List.of(), 
List.of()))
-                .toList())));
-        return AdminClientTestUtils.describeTopicsResult(topicDescriptions);
-    }
-

Review Comment:
   I found an unused method, so I removed it as well.



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

Reply via email to