apoorvmittal10 commented on code in PR #19661: URL: https://github.com/apache/kafka/pull/19661#discussion_r2081188468
########## clients/src/test/java/org/apache/kafka/common/record/MemoryRecordsTest.java: ########## @@ -1170,7 +1169,7 @@ public void testSliceEmptyRecords() { */ @ParameterizedTest @ArgumentsSource(MemoryRecordsArgumentsProvider.class) - public void testSliceForAlreadySlicedMemoryRecords(Args args) throws IOException { + public void testSliceForAlreadySlicedMemoryRecords(Args args) { Review Comment: Can we also remove explicit casting in this class i.e. at line 1092, 1093, etc. The similar we removed in FileRecordsTest. -- 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