sjhajharia commented on code in PR #19069: URL: https://github.com/apache/kafka/pull/19069#discussion_r1996581284
########## metadata/src/test/java/org/apache/kafka/metadata/ControllerRegistrationTest.java: ########## @@ -46,18 +44,18 @@ static <K, V> Map<K, V> doubleMap(K k1, V v1, K k2, V v2) { HashMap<K, V> map = new HashMap<>(); map.put(k1, v1); map.put(k2, v2); - return Collections.unmodifiableMap(map); + return map; Review Comment: No worries. I have updated the changes. -- 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