mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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:
parent
1f87cb017f
commit
c84e19f3ca
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue