dajac commented on a change in pull request #9938: URL: https://github.com/apache/kafka/pull/9938#discussion_r561768198
########## File path: core/src/test/scala/integration/kafka/api/DescribeAuthorizedOperationsTest.scala ########## @@ -73,11 +114,6 @@ class DescribeAuthorizedOperationsTest extends IntegrationTestHarness with SaslS TestUtils.waitUntilBrokerMetadataIsPropagated(servers) } - private def accessControlEntry(userName: String, permissionType: AclPermissionType, operation: AclOperation): AccessControlEntry = { - new AccessControlEntry(new KafkaPrincipal(KafkaPrincipal.USER_TYPE, userName).toString, - AclEntry.WildcardHost, operation, permissionType) - } - @AfterEach override def tearDown(): Unit = { if (client != null) Review comment: Got it, thanks for the clarification. I have removed the null check. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org