chirag-wadhwa5 commented on code in PR #16792: URL: https://github.com/apache/kafka/pull/16792#discussion_r1708727874
########## core/src/test/scala/unit/kafka/server/KafkaApisTest.scala: ########## @@ -4430,16 +4430,16 @@ class KafkaApisTest extends Logging { when(sharePartitionManager.fetchMessages(any(), any(), any(), any())).thenReturn( CompletableFuture.completedFuture(Map[TopicIdPartition, ShareFetchResponseData.PartitionData]( new TopicIdPartition(topicId, new TopicPartition(topicName, partitionIndex)) -> - new ShareFetchResponseData.PartitionData() - .setErrorCode(Errors.NONE.code) - .setAcknowledgeErrorCode(Errors.NONE.code) - .setRecords(records) - .setAcquiredRecords(new util.ArrayList(List( - new ShareFetchResponseData.AcquiredRecords() - .setFirstOffset(0) - .setLastOffset(9) - .setDeliveryCount(1) - ).asJava)) + new ShareFetchResponseData.PartitionData() + .setErrorCode(Errors.NONE.code) + .setAcknowledgeErrorCode(Errors.NONE.code) + .setRecords(records) + .setAcquiredRecords(new util.ArrayList(List( + new ShareFetchResponseData.AcquiredRecords() + .setFirstOffset(0) + .setLastOffset(9) + .setDeliveryCount(1) + ).asJava)) Review Comment: Thanks for the review. It wasn't intended, but I guess the current indentation is fine and we can leave it as it is. -- 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