# HG changeset patch # User chegar # Date 1528813271 -3600 # Node ID d7954a135b1e2d2eef4a8a9b9f317c5b11220675 # Parent b75307ee399a61441a907b12c683af9546ec9acc http-client-branch: review comment: minor API corrections diff -r b75307ee399a -r d7954a135b1e src/java.net.http/share/classes/java/net/http/HttpRequest.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 @@ *

Instances of {@code HttpRequest.Builder} are created by calling {@link * HttpRequest#newBuilder(URI)} or {@link HttpRequest#newBuilder()}. * - *

The builder can be used to configure per-request state, like: the + *

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 diff -r b75307ee399a -r d7954a135b1e src/java.net.http/share/classes/java/net/http/WebSocket.java --- 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 @@ * *

{@code WebSocket} instances are created through {@link WebSocket.Builder}. * - *

WebSocket has an input and an output sides. These sides are independent + *

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