You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ma...@apache.org on 2021/05/29 11:33:35 UTC

[kafka] branch trunk updated: KAFKA-12865 : Fix doc error in Admin.describeAcls API (#10790)

This is an automated email from the ASF dual-hosted git repository.

manikumar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 99a0312  KAFKA-12865 : Fix doc error in Admin.describeAcls API (#10790)
99a0312 is described below

commit 99a031207bca6910b6ddbf5406fc69253aafcdb9
Author: Rohit Sachan <sa...@gmail.com>
AuthorDate: Sat May 29 19:31:34 2021 +0800

    KAFKA-12865 : Fix doc error in Admin.describeAcls API (#10790)
    
    Reviewers: Lee Dongjin <do...@apache.org>, Manikumar Reddy <ma...@gmail.com>
---
 clients/src/main/java/org/apache/kafka/clients/admin/Admin.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
index fc9dea2..3e52f64 100644
--- a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
+++ b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
@@ -338,7 +338,7 @@ public interface Admin extends AutoCloseable {
      * This operation is supported by brokers with version 0.11.0.0 or higher.
      *
      * @param filter The filter to use.
-     * @return The DeleteAclsResult.
+     * @return The DescribeAclsResult.
      */
     default DescribeAclsResult describeAcls(AclBindingFilter filter) {
         return describeAcls(filter, new DescribeAclsOptions());
@@ -354,7 +354,7 @@ public interface Admin extends AutoCloseable {
      *
      * @param filter  The filter to use.
      * @param options The options to use when listing the ACLs.
-     * @return The DeleteAclsResult.
+     * @return The DescribeAclsResult.
      */
     DescribeAclsResult describeAcls(AclBindingFilter filter, DescribeAclsOptions options);