/guava/guava/src/com/google/common/net/HostSpecifier.java
} catch ( IllegalArgumentException e) { addr = InetAddresses.forString( host) ;
addr = InetAddresses.forString ( host ) ; } catch ( IllegalArgumentException e ) {
public static HostSpecifier fromValid(String specifier) { HostAndPort parsedHost = HostAndPort.fromString(specifier); Preconditions.checkArgument(!parsedHost.hasPort()); String host = parsedHost.getHost(); InetAddress addr = null; try { <extra_id_0> } if (addr != null) { return new HostSpecifier(InetAddresses.toUriString(addr)); } InternetDomainName domain = InternetDomainName.from(host); if (domain.hasPublicSuffix()) {