ソースを参照

remove duplicate words in the javadoc (#99172)

Stéphane Campinas 2 年 前
コミット
5d6c9868ea

+ 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);