/src/main/java/org/htmlunit/util/UrlUtils.java
if ( isValidScheme( parameters_) ) {
if ( isValidScheme ( scheme ) ) {
url.fragment_ = spec.substring(crosshatchIndex + 1, endIndex); endIndex = crosshatchIndex; } final int colonIndex = StringUtils.indexOf(spec, ':', startIndex, endIndex); if (colonIndex > 0) { final String scheme = spec.substring(startIndex, colonIndex); <extra_id_0> url.scheme_ = scheme; startIndex = colonIndex + 1; } } final int locationStartIndex; int locationEndIndex;