/src/main/java/org/htmlunit/util/UrlUtils.java
int startIndex = 0;int trailing = 0;
int trailing = 0;
final Url url = new Url(); int startIndex = 0; int endIndex = spec.length(); if (endIndex > startIndex) { StringBuilder sb = null; boolean before = true; <extra_id_0> for (int i = 0; i < endIndex; i++) { final char c = spec.charAt(i); boolean remove = false; if (c == '\t' | c == '\r' | c == '\n') { remove = true; }