sjhajharia commented on code in PR #19380:
URL: https://github.com/apache/kafka/pull/19380#discussion_r2039918241


##########
core/src/test/scala/integration/kafka/api/ProducerSendWhileDeletionTest.scala:
##########
@@ -60,8 +60,8 @@ class ProducerSendWhileDeletionTest extends 
IntegrationTestHarness {
     createTopicWithAssignment(topic, Map(0 -> Seq(0, 1), 1 -> Seq(0, 1)))
 
     val reassignment = Map(
-      new TopicPartition(topic, 0) -> Optional.of(new 
NewPartitionReassignment(util.Arrays.asList(1, 0))),
-      new TopicPartition(topic, 1) -> Optional.of(new 
NewPartitionReassignment(util.Arrays.asList(1, 0)))
+      new TopicPartition(topic, 0) -> Optional.of(new 
NewPartitionReassignment(util.List.of(1, 0))),
+      new TopicPartition(topic, 1) -> Optional.of(new 
NewPartitionReassignment(util.List.of(1, 0)))

Review Comment:
   Thanks



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