# HG changeset patch # User dfuchs # Date 1511192230 0 # Node ID d4142ab48c8adc5e50c055966002e07eebaf4cc4 # Parent 12a64276cc96b5ebf6899cddac0774e2f621205f http-client-branch: minor doc formatting diff -r 12a64276cc96 -r d4142ab48c8a 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) {