http-client-branch: review comment: minor API corrections http-client-branch
authorchegar
Tue, 12 Jun 2018 15:21:11 +0100
branchhttp-client-branch
changeset 56747 d7954a135b1e
parent 56745 b75307ee399a
child 56748 00b64a0234f5
http-client-branch: review comment: minor API corrections
src/java.net.http/share/classes/java/net/http/HttpRequest.java
src/java.net.http/share/classes/java/net/http/WebSocket.java
--- a/src/java.net.http/share/classes/java/net/http/HttpRequest.java	Tue Jun 12 12:47:27 2018 +0100
+++ b/src/java.net.http/share/classes/java/net/http/HttpRequest.java	Tue Jun 12 15:21:11 2018 +0100
@@ -89,7 +89,7 @@
      * <p> Instances of {@code HttpRequest.Builder} are created by calling {@link
      * HttpRequest#newBuilder(URI)} or {@link HttpRequest#newBuilder()}.
      *
-     * <p> The builder can be used to configure per-request state, like: the
+     * <p> The builder can be used to configure per-request state, such as: the
      * request URI, the request method ( default is GET unless explicitly set ),
      * specific request headers, etc. Each of the setter methods modifies the
      * state of the builder and returns the same instance. The methods are not
--- a/src/java.net.http/share/classes/java/net/http/WebSocket.java	Tue Jun 12 12:47:27 2018 +0100
+++ b/src/java.net.http/share/classes/java/net/http/WebSocket.java	Tue Jun 12 15:21:11 2018 +0100
@@ -37,7 +37,7 @@
  *
  * <p> {@code WebSocket} instances are created through {@link WebSocket.Builder}.
  *
- * <p> WebSocket has an input and an output sides. These sides are independent
+ * <p> WebSocket has an input and an output side. These sides are independent
  * from each other. A side can either be open or closed. Once closed, the side
  * remains closed. WebSocket messages are sent through a {@code WebSocket} and
  * received through a {@code WebSocket.Listener} associated with it. Messages