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

   `TopologyMetadata.getSubtopologyOrFail` calls `containsKey` and then
   `get` with the same key, which looks the key up twice.
   
   This patch replaces them with a single `get` followed by a null check.
   The map holds no null values, so the behavior is unchanged.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to