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

chia7712 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 0e91d05  MINOR: rename @returns to @return (#9808)
0e91d05 is described below

commit 0e91d053f33d9525951cf24eb2a444925cdffe45
Author: dengziming <[email protected]>
AuthorDate: Sun Jan 3 21:04:28 2021 +0800

    MINOR: rename @returns to @return (#9808)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 .../src/main/java/org/apache/kafka/connect/runtime/Herder.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Herder.java 
b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Herder.java
index c5fefe9..03d462b 100644
--- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Herder.java
+++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Herder.java
@@ -65,7 +65,7 @@ public interface Herder {
      * Get a list of connectors currently running in this cluster. This is a 
full list of connectors in the cluster gathered
      * from the current configuration. However, note
      *
-     * @returns A list of connector names
+     * @return A list of connector names
      * @throws 
org.apache.kafka.connect.runtime.distributed.RequestTargetException if this 
node can not resolve the request
      *         (e.g., because it has not joined the cluster or does not have 
configs in sync with the group) and it is
      *         not the leader or the task owner (e.g., task restart must be 
handled by the worker which owns the task)
@@ -132,7 +132,7 @@ public interface Herder {
 
     /**
      * Get a list of connectors currently running in this cluster.
-     * @returns A list of connector names
+     * @return A list of connector names
      */
     Collection<String> connectors();
 
@@ -213,7 +213,7 @@ public interface Herder {
      * @param delayMs delay before restart
      * @param connName name of the connector
      * @param cb callback to invoke upon completion
-     * @returns The id of the request
+     * @return The id of the request
      */
     HerderRequest restartConnector(long delayMs, String connName, 
Callback<Void> cb);
 

Reply via email to