/src/main/java/org/htmlunit/util/UrlUtils.java
if ( anchor != null) {
if ( sb == null ) {
} } else if (sb != null) { sb.append(c); } } <extra_id_0> if (trailing > 0) { endIndex = spec.length() - trailing; spec = spec.substring(0, endIndex); } } else {