Lines Matching refs:url2
336 * @param url2
341 protected boolean equals(URL url1, URL url2) {
342 if (!sameFile(url1, url2)) {
345 String s1 = url1.getRef(), s2 = url2.getRef();
350 s2 = url2.getQuery();
399 * @param url2
404 protected boolean hostsEqual(URL url1, URL url2) {
405 String host1 = getHost(url1), host2 = getHost(url2);
411 InetAddress address2 = getHostAddress(url2);
424 * @param url2
429 protected boolean sameFile(URL url1, URL url2) {
431 String s2 = url2.getProtocol();
437 s2 = url2.getFile();
441 if (!hostsEqual(url1, url2)) {
448 int p2 = url2.getPort();