akhileshchg commented on code in PR #12628:
URL: https://github.com/apache/kafka/pull/12628#discussion_r975614289


##########
metadata/src/main/java/org/apache/kafka/metadata/authorizer/StandardAuthorizerData.java:
##########
@@ -193,15 +194,29 @@ StandardAuthorizerData 
copyWithNewAcls(Collection<Entry<Uuid, StandardAcl>> aclE
             loadingComplete,
             superUsers,
             defaultRule.result,
-            new ConcurrentSkipListSet<>(),
-            new ConcurrentHashMap<>());
+            new TreeSet<>(),
+            new HashMap<>());
         for (Entry<Uuid, StandardAcl> entry : aclEntries) {
             newData.addAcl(entry.getKey(), entry.getValue());
         }
         log.info("Applied {} acl(s) from image.", aclEntries.size());
         return newData;
     }
 
+    StandardAuthorizerData copyWithNewAcls(TreeSet<StandardAcl> 
aclsByResource, HashMap<Uuid,

Review Comment:
   Removed it.



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