MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / equals

Method equals

java/src/org/openqa/selenium/Proxy.java:478–498  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

476 }
477
478 @Override
479 public boolean equals(@Nullable Object o) {
480 if (this == o) {
481 return true;
482 }
483 if (o == null || getClass() != o.getClass()) {
484 return false;
485 }
486 Proxy proxy = (Proxy) o;
487 return isAutodetect() == proxy.isAutodetect()
488 && getProxyType() == proxy.getProxyType()
489 && Objects.equals(getFtpProxy(), proxy.getFtpProxy())
490 && Objects.equals(getHttpProxy(), proxy.getHttpProxy())
491 && Objects.equals(getNoProxy(), proxy.getNoProxy())
492 && Objects.equals(getSslProxy(), proxy.getSslProxy())
493 && Objects.equals(getSocksProxy(), proxy.getSocksProxy())
494 && Objects.equals(getSocksVersion(), proxy.getSocksVersion())
495 && Objects.equals(getSocksUsername(), proxy.getSocksUsername())
496 && Objects.equals(getSocksPassword(), proxy.getSocksPassword())
497 && Objects.equals(getProxyAutoconfigUrl(), proxy.getProxyAutoconfigUrl());
498 }
499
500 @Override
501 public int hashCode() {

Callers

nothing calls this directly

Calls 12

isAutodetectMethod · 0.95
getProxyTypeMethod · 0.95
getFtpProxyMethod · 0.95
getHttpProxyMethod · 0.95
getNoProxyMethod · 0.95
getSslProxyMethod · 0.95
getSocksProxyMethod · 0.95
getSocksVersionMethod · 0.95
getSocksUsernameMethod · 0.95
getSocksPasswordMethod · 0.95
getProxyAutoconfigUrlMethod · 0.95
getClassMethod · 0.65

Tested by

no test coverage detected