OmniaGM commented on PR #14881: URL: https://github.com/apache/kafka/pull/14881#issuecomment-1848035026
> Checkstyle failed: Here is the diff to fix > > ``` > diff --git a/metadata/src/main/java/org/apache/kafka/image/TopicDelta.java b/metadata/src/main/java/org/apache/kafka/image/TopicDelta.java > index ffce9ea550..2686af151c 100644 > --- a/metadata/src/main/java/org/apache/kafka/image/TopicDelta.java > +++ b/metadata/src/main/java/org/apache/kafka/image/TopicDelta.java > @@ -135,7 +135,7 @@ public final class TopicDelta { > Map<TopicIdPartition, Uuid> directoryIds = new HashMap<>(); > > for (Entry<Integer, PartitionRegistration> entry : partitionChanges.entrySet()) { > - if (!Replicas.contains(entry.getValue().replicas, brokerId)) { > + if (!Replicas.contains(entry.getValue().replicas, brokerId)) { > PartitionRegistration prevPartition = image.partitions().get(entry.getKey()); > if (prevPartition != null && Replicas.contains(prevPartition.replicas, brokerId)) { > deletes.add(new TopicPartition(name(), entry.getKey())); > ``` Fixed now -- 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