String _path = absolute.getPath(); int this_idx = this.getPath().lastIndexOf('/'); int abs_idx = _path.lastIndexOf('/'); if (this_idx < 0 || abs_idx < 0) { return absolute; if (_path.equals(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, ".", _query, _frag); if (_path.startsWith(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, _path.substring(this_idx + 1), _query, _frag);
String _path = absolute.getPath(); int this_idx = this.getPath().lastIndexOf('/'); int abs_idx = _path.lastIndexOf('/'); if (this_idx < 0 || abs_idx < 0) { return absolute; if (_path.equals(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, ".", _query, _frag); if (_path.startsWith(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, _path.substring(this_idx + 1), _query, _frag);
String _path = absolute.getPath(); int this_idx = this.getPath().lastIndexOf('/'); int abs_idx = _path.lastIndexOf('/'); if (this_idx < 0 || abs_idx < 0) { return absolute; if (_path.equals(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, ".", _query, _frag); if (_path.startsWith(this.getPath().substring(0, this_idx + 1))) { return new ParsedIRI(null, null, null, -1, _path.substring(this_idx + 1), _query, _frag);
if (relative.getHost() == null && relative.getQuery() == null && relative.getPath().length() == 0) { this.getPath(), this.getQuery(), fragment); else if (relative.getHost() == null && relative.getPath().length() == 0) { this.getPath(), query, fragment); host = relative.getHost(); port = relative.getPort(); path = relative.getPath(); if (relative.getPath().startsWith("/")) { path = relative.getPath(); path = this.getPath(); path += relative.getPath();
if (relative.getHost() == null && relative.getQuery() == null && relative.getPath().length() == 0) { this.getPath(), this.getQuery(), fragment); else if (relative.getHost() == null && relative.getPath().length() == 0) { this.getPath(), query, fragment); host = relative.getHost(); port = relative.getPort(); path = relative.getPath(); if (relative.getPath().startsWith("/")) { path = relative.getPath(); path = this.getPath(); path += relative.getPath();
if (relative.getHost() == null && relative.getQuery() == null && relative.getPath().length() == 0) { this.getPath(), this.getQuery(), fragment); else if (relative.getHost() == null && relative.getPath().length() == 0) { this.getPath(), query, fragment); host = relative.getHost(); port = relative.getPort(); path = relative.getPath(); if (relative.getPath().startsWith("/")) { path = relative.getPath(); path = this.getPath(); path += relative.getPath();