/src/main/java/org/htmlunit/util/UrlUtils.java
scheme_ = url.scheme_;url.scheme_ = baseUrl.scheme_;
url.scheme_ = baseUrl.scheme_;
if (relativeUrl.isEmpty()) { return new Url(baseUrl); } if (url.scheme_ != null) { return url; } <extra_id_0> if (url.location_ != null) { return url; } url.location_ = baseUrl.location_; if (url.path_ != null && !url.path_.isEmpty() && url.path_.charAt(0) == '/') { url.path_ = removeLeadingSlashPoints(url.path_);