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