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