changeset 52586:8934429cfb0b

8213910: Invalid HTML in java.net.http.HttpClient Reviewed-by: mchung, darcy
author jjg
date Wed, 14 Nov 2018 16:11:21 -0800
parents 3a9384c12260
children 06fdb8783d51
files src/java.net.http/share/classes/java/net/http/HttpClient.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.net.http/share/classes/java/net/http/HttpClient.java	Wed Nov 14 18:49:02 2018 -0500
+++ b/src/java.net.http/share/classes/java/net/http/HttpClient.java	Wed Nov 14 16:11:21 2018 -0800
@@ -104,7 +104,7 @@
  *        .thenApply(HttpResponse::body)
  *        .thenAccept(System.out::println);  }</pre>
  *
- * <p> <a id="securitychecks"></a><b>Security checks</b></a>
+ * <p> <a id="securitychecks"><b>Security checks</b></a>
  *
  * <p> If a security manager is present then security checks are performed by
  * the HTTP Client's sending methods. An appropriate {@link URLPermission} is
@@ -327,7 +327,7 @@
          * then newly built clients will use the {@linkplain
          * ProxySelector#getDefault() default proxy selector}, which is usually
          * adequate for client applications. The default proxy selector supports
-         * a set of system properties</a> related to
+         * a set of system properties related to
          * <a href="{@docRoot}/java.base/java/net/doc-files/net-properties.html#Proxies">
          * proxy settings</a>. This default behavior can be disabled by
          * supplying an explicit proxy selector, such as {@link #NO_PROXY} or