mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8213911: Use example.com in java.net and other examples
Reviewed-by: prappo, chegar, rriggs, mullan
This commit is contained in:
parent
197b669f83
commit
5d1cc7fc01
9 changed files with 39 additions and 39 deletions
|
@ -131,7 +131,7 @@
|
|||
* InputStream.
|
||||
* <p>Here is an example:</p>
|
||||
* <pre>
|
||||
* URI uri = new URI("http://java.sun.com/");
|
||||
* URI uri = new URI("http://www.example.com/");
|
||||
* URL url = uri.toURL();
|
||||
* InputStream in = url.openStream();
|
||||
* </pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue