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