sjhajharia commented on code in PR #16364: URL: https://github.com/apache/kafka/pull/16364#discussion_r1666347879
########## clients/src/main/java/org/apache/kafka/clients/consumer/Consumer.java: ########## @@ -267,7 +267,7 @@ public interface Consumer<K, V> extends Closeable { /** * @see KafkaConsumer#enforceRebalance(String) */ - void enforceRebalance(final String reason); + void enforceRebalance( String reason); Review Comment: Same ^ ########## clients/src/main/java/org/apache/kafka/clients/consumer/Consumer.java: ########## @@ -106,7 +106,7 @@ public interface Consumer<K, V> extends Closeable { /** * @see KafkaConsumer#commitSync(Map, Duration) */ - void commitSync(final Map<TopicPartition, OffsetAndMetadata> offsets, final Duration timeout); + void commitSync( Map<TopicPartition, OffsetAndMetadata> offsets, Duration timeout); Review Comment: The extra whitespace between the parentheses and `Map` broke the checkStyle recommendations. Could you pls fix the same! -- 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