/src/main/java/org/htmlunit/ProxyAutoConfig.java
return host.length( ) > 1 && host.equals( hostdom) || host.replace( '.') == -1 && hostdom.startsWith( host) ;
return host.length ( ) > 1 && host.equals ( hostdom ) || host.indexOf ( '.' ) == -1 && hostdom.startsWith ( host ) ;
return host.indexOf('.') == -1; } public static boolean dnsDomainIs(final String host, final String domain) { return host.endsWith(domain); } public static boolean localHostOrDomainIs(final String host, final String hostdom) { <extra_id_0> } public static boolean isResolvable(final String host) { return dnsResolve(host) != null; } public static boolean isInNet(final String host, final String pattern, final String mask) { final String dnsResolve = dnsResolve(host);