8177389: Hyphen "-" should be removed in URL class documentation

Javadoc of java.net.URL constructor updated to remove an unnecessary hyphen

Reviewed-by: dfuchs
This commit is contained in:
Jaikiran Pai 2019-08-24 09:31:15 +05:30
parent 1f87cb017f
commit c84e19f3ca

View file

@ -329,10 +329,13 @@ public final class URL implements java.io.Serializable {
* </ol> * </ol>
* *
* <p>Protocol handlers for the following protocols are guaranteed * <p>Protocol handlers for the following protocols are guaranteed
* to exist on the search path :- * to exist on the search path:
* <blockquote><pre> * <ul>
* http, https, file, and jar * <li>{@code http}</li>
* </pre></blockquote> * <li>{@code https}</li>
* <li>{@code file}</li>
* <li>{@code jar}</li>
* </ul>
* Protocol handlers for additional protocols may also be available. * Protocol handlers for additional protocols may also be available.
* Some protocol handlers, for example those used for loading platform * Some protocol handlers, for example those used for loading platform
* classes or classes on the class path, may not be overridden. The details * classes or classes on the class path, may not be overridden. The details