瀏覽代碼

remove duplicate words in the javadoc (#99172)

Stéphane Campinas 2 年之前
父節點
當前提交
5d6c9868ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/src/main/java/org/elasticsearch/action/ActionListenerResponseHandler.java

+ 2 - 2
server/src/main/java/org/elasticsearch/action/ActionListenerResponseHandler.java

@@ -35,8 +35,8 @@ public class ActionListenerResponseHandler<Response extends TransportResponse> i
      * @param executor The executor to use to deserialize the response and notify the listener. You must only use
      *                 {@link EsExecutors#DIRECT_EXECUTOR_SERVICE} (or equivalently {@link TransportResponseHandler#TRANSPORT_WORKER})
      *                 for very performance-critical actions, and even then only if the deserialization and handling work is very cheap,
-     *                 because this executor will perform because this executor will perform all the work for responses from remote nodes on
-     *                 the receiving transport worker itself.
+     *                 because this executor will perform all the work for responses from remote nodes on the receiving transport worker
+     *                 itself.
      */
     public ActionListenerResponseHandler(ActionListener<? super Response> listener, Writeable.Reader<Response> reader, Executor executor) {
         this.listener = Objects.requireNonNull(listener);