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


##########
core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala:
##########
@@ -5666,22 +5663,30 @@ class ReplicaManagerTest {
   }
 
   private def topicsCreateDelta(startId: Int, isStartIdLeader: Boolean, 
partition:Int = 0, directoryIds: List[Uuid] = List.empty): TopicsDelta = {
+    topicsCreateDelta(startId, isStartIdLeader, List(partition), directoryIds, 
"foo", FOO_UUID)
+  }
+
+  private def topicsCreateDelta(startId: Int, isStartIdLeader: Boolean, 
partitions: List[Int],
+                                directoryIds: List[Uuid], topicName: String, 
topicId: Uuid): TopicsDelta = {

Review Comment:
   > I used overloading here since a few existing calls would break due to 
mismatched params if we used default args
   
   I think updating the existing calls is totally fine.



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