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

@ -3067,7 +3067,7 @@ public final class Files {
* it to a file:
* <pre>
* Path path = ...
* URI u = URI.create("http://java.sun.com/");
* URI u = URI.create("http://www.example.com/");
* try (InputStream in = u.toURL().openStream()) {
* Files.copy(in, path);
* }