changeset 57949:1a296c9064dc

8177389: Hyphen "-" should be removed in URL class documentation Summary: javadoc of java.net.URL constructor updated to remove an unnecessary hyphen Reviewed-by: dfuchs
author jpai
date Sat, 24 Aug 2019 09:31:15 +0530
parents bc4e7a84e89d
children ee230ad8cfef
files src/java.base/share/classes/java/net/URL.java
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/net/URL.java	Mon Sep 09 16:13:43 2019 +0100
+++ b/src/java.base/share/classes/java/net/URL.java	Sat Aug 24 09:31:15 2019 +0530
@@ -329,10 +329,13 @@
      * </ol>
      *
      * <p>Protocol handlers for the following protocols are guaranteed
-     * to exist on the search path :-
-     * <blockquote><pre>
-     *     http, https, file, and jar
-     * </pre></blockquote>
+     * to exist on the search path:
+     * <ul>
+     * <li>{@code http}</li>
+     * <li>{@code https}</li>
+     * <li>{@code file}</li>
+     * <li>{@code jar}</li>
+     * </ul>
      * Protocol handlers for additional protocols may also be  available.
      * Some protocol handlers, for example those used for loading platform
      * classes or classes on the class path, may not be overridden. The details