http-client-branch: minor doc formatting http-client-branch
authordfuchs
Mon, 20 Nov 2017 15:37:10 +0000
branchhttp-client-branch
changeset 55839 d4142ab48c8a
parent 55838 12a64276cc96
child 55840 2c38de4b50bd
http-client-branch: minor doc formatting
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Sat Nov 18 20:13:09 2017 +0300
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java	Mon Nov 20 15:37:10 2017 +0000
@@ -318,7 +318,7 @@
          * uses the given value as a replacement for it.
          *
          * @param <U> the response body type
-         * @param value the value of U to return as the body, may be null
+         * @param value the value of U to return as the body, may be {@code null}
          * @return a response body handler
          */
         public static <U> BodyHandler<U> discard(U value) {
@@ -705,7 +705,7 @@
          * {@link HttpResponse#body()}.
          *
          * @param <U> The type of the response body
-         * @param value the value to return from HttpResponse.body(), may be null
+         * @param value the value to return from HttpResponse.body(), may be {@code null}
          * @return a {@code BodySubscriber}
          */
         public static <U> BodySubscriber<U> discard(U value) {