--- 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) {