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

@ -60,7 +60,7 @@ class HostPortrange {
HostPortrange(String scheme, String str) {
// Parse the host name. A name has up to three components, the
// hostname, a port number, or two numbers representing a port
// range. "www.sun.com:8080-9090" is a valid host name.
// range. "www.example.com:8080-9090" is a valid host name.
// With IPv6 an address can be 2010:836B:4179::836B:4179
// An IPv6 address needs to be enclose in []