sjhajharia commented on code in PR #19791: URL: https://github.com/apache/kafka/pull/19791#discussion_r2160087650
########## jmh-benchmarks/src/main/java/org/apache/kafka/jmh/core/TestPurgatoryPerformance.java: ########## @@ -313,7 +313,7 @@ public long next() { } public void printStats() { - List<Long> samples = this.samples.stream().sorted().collect(Collectors.toList()); + List<Long> samples = this.samples.stream().sorted().toList(); Review Comment: Thanks @chia7712 for the review. Addressed the same in the latest commit. PTAL when possible. -- 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