# HG changeset patch # User chegar # Date 1519121760 0 # Node ID 3f29747a858a2973c4d6ddd1787665b7d58bc4d7 # Parent 336393c75a93335a9dc1cde384c974eae9538e1c http-client-branch: minor typo-like changes diff -r 336393c75a93 -r 3f29747a858a src/java.net.http/share/classes/java/net/http/HttpResponse.java --- a/src/java.net.http/share/classes/java/net/http/HttpResponse.java Tue Feb 20 09:55:18 2018 +0000 +++ b/src/java.net.http/share/classes/java/net/http/HttpResponse.java Tue Feb 20 10:16:00 2018 +0000 @@ -72,7 +72,7 @@ *
This class provides methods for accessing the response status code,
* headers, the response body, and the {@code HttpRequest} corresponding
* to this response.
- **
+ *
* @param ,T> BodyHandler finisher, String lineSeparator) {
+ fromLineSubscriber(S subscriber,
+ Function finisher,
+ String lineSeparator) {
Objects.requireNonNull(subscriber);
Objects.requireNonNull(finisher);
// implicit null check
@@ -906,7 +909,8 @@
* in which case lines will be delimited in the manner of
* {@link BufferedReader#readLine()}.
* @return a body subscriber
- * @throws IllegalArgumentException if the supplied {@code lineSeparator} is the empty string.
+ * @throws IllegalArgumentException if the supplied {@code lineSeparator}
+ * is the empty string
*/
public static ,T> BodySubscriber