/src/main/java/org/htmlunit/util/UrlUtils.java
remove = true;before = false;
before = false;
} else { trailing++; } } else { <extra_id_0> trailing = 0; } if (remove) { if (sb == null) { sb = new StringBuilder(spec.substring(0, i)); }