http-client-branch: minor WebSocket.Listener re-wording http-client-branch
authorchegar
Wed, 21 Mar 2018 12:38:23 +0000
branchhttp-client-branch
changeset 56329 254f6c8277f9
parent 56328 161f716753d7
child 56330 65a4ac71b2bf
http-client-branch: minor WebSocket.Listener re-wording
src/java.net.http/share/classes/java/net/http/WebSocket.java
--- a/src/java.net.http/share/classes/java/net/http/WebSocket.java	Wed Mar 21 11:39:30 2018 +0000
+++ b/src/java.net.http/share/classes/java/net/http/WebSocket.java	Wed Mar 21 12:38:23 2018 +0000
@@ -235,12 +235,11 @@
      * {@code CompletionStage}, {@code WebSocket} will behave as if the listener
      * returned a {@code CompletionStage} that is already completed normally.
      *
-     * @apiNote Methods of {@code Listener} have a {@code WebSocket} parameter
-     * which holds an invoking {@code WebSocket} at runtime. A careful attention
-     * is required if a listener is associated with more than a single
-     * {@code WebSocket}. In this case invocations related to different
-     * instances of {@code WebSocket} may not be ordered and may even happen
-     * concurrently.
+     * @apiNote The listener methods are passed the invoking {@code WebSocket}
+     * at runtime. Careful attention may be required if a listener is associated
+     * with more than a single {@code WebSocket}. In this case invocations
+     * related to different instances of {@code WebSocket} may not be ordered
+     * and may even happen concurrently.
      *
      * @since 11
      */