8213911: Use example.com in java.net and other examples

Reviewed-by: prappo, chegar, rriggs, mullan
This commit is contained in:
Joe Darcy 2018-11-27 11:28:47 -08:00
parent 197b669f83
commit 5d1cc7fc01
9 changed files with 39 additions and 39 deletions

View file

@ -95,7 +95,7 @@ import sun.security.action.GetPropertyAction;
* as a "ref" or a "reference". The fragment is indicated by the sharp
* sign character "#" followed by more characters. For example,
* <blockquote><pre>
* http://java.sun.com/index.html#chapter1
* http://www.example.com/index.html#chapter1
* </pre></blockquote>
* <p>
* This fragment is not technically part of the URL. Rather, it
@ -109,7 +109,7 @@ import sun.security.action.GetPropertyAction;
* relative to another URL. Relative URLs are frequently used within
* HTML pages. For example, if the contents of the URL:
* <blockquote><pre>
* http://java.sun.com/index.html
* http://www.example.com/index.html
* </pre></blockquote>
* contained within it the relative URL:
* <blockquote><pre>
@ -117,7 +117,7 @@ import sun.security.action.GetPropertyAction;
* </pre></blockquote>
* it would be a shorthand for:
* <blockquote><pre>
* http://java.sun.com/FAQ.html
* http://www.example.com/FAQ.html
* </pre></blockquote>
* <p>
* The relative URL need not specify all the components of a URL. If