gongxuanzhang opened a new pull request, #20337:
URL: https://github.com/apache/kafka/pull/20337

   field `directories` has already been validated in the constructor,so there’s 
no need to check for null.
   
   
https://github.com/apache/kafka/blob/7d2ad185206cd4c7089fceb07f9a3f2c016f38d6/metadata/src/main/java/org/apache/kafka/metadata/PartitionRegistration.java#L221


-- 
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

Reply via email to