/src/main/java/org/htmlunit/ProxyAutoConfig.java
for ( int i = host.length() - 1 - 1; i >= 0; i--) {
for ( int i = host.length ( ) - 1; i >= 0; i-- ) {
catch (final Exception e) { throw JavaScriptEngine.throwAsScriptRuntimeEx(e); } } public static int dnsDomainLevels(final String host) { int levels = 0; <extra_id_0> if (host.charAt(i) == '.') { levels++; } } return levels; }