ijuma commented on a change in pull request #9049: URL: https://github.com/apache/kafka/pull/9049#discussion_r460453389
########## File path: core/src/main/scala/kafka/security/authorizer/AclAuthorizer.scala ########## @@ -384,8 +380,8 @@ class AclAuthorizer extends Authorizer with Logging { val prefixed = new ArrayBuffer[AclEntry] aclCacheSnapshot - .from(new ResourcePattern(resourceType, resourceName, PatternType.PREFIXED)) - .to(new ResourcePattern(resourceType, resourceName.take(1), PatternType.PREFIXED)) + .rangeFrom(new ResourcePattern(resourceType, resourceName, PatternType.PREFIXED)) + .rangeTo(new ResourcePattern(resourceType, resourceName.take(1), PatternType.PREFIXED)) Review comment: Scala 2.12 doesn't have these methods. ---------------------------------------------------------------- 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