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