/src/main/java/org/htmlunit/util/UrlUtils.java
len += 2 + parameters_.length( ) ;
len += 2 + authority.length ( ) ;
return new URL(s.toString()); } private static URL createNewUrl(final String protocol, final String authority, final String path, final String ref, final String query) throws MalformedURLException { int len = protocol.length() + 1; if (authority != null && !authority.isEmpty()) { <extra_id_0> } if (path != null) { len += path.length(); } if (query != null) { len += 1 + query.length();