(@Nullable Object o)
| 442 | } |
| 443 | |
| 444 | @Override |
| 445 | public boolean equals(@Nullable Object o) { |
| 446 | if (this == o) { |
| 447 | return true; |
| 448 | } |
| 449 | if (o == null || getClass() != o.getClass()) { |
| 450 | return false; |
| 451 | } |
| 452 | Proxy proxy = (Proxy) o; |
| 453 | return isAutodetect() == proxy.isAutodetect() |
| 454 | && getProxyType() == proxy.getProxyType() |
| 455 | && Objects.equals(getHttpProxy(), proxy.getHttpProxy()) |
| 456 | && Objects.equals(getNoProxy(), proxy.getNoProxy()) |
| 457 | && Objects.equals(getSslProxy(), proxy.getSslProxy()) |
| 458 | && Objects.equals(getSocksProxy(), proxy.getSocksProxy()) |
| 459 | && Objects.equals(getSocksVersion(), proxy.getSocksVersion()) |
| 460 | && Objects.equals(getSocksUsername(), proxy.getSocksUsername()) |
| 461 | && Objects.equals(getSocksPassword(), proxy.getSocksPassword()) |
| 462 | && Objects.equals(getProxyAutoconfigUrl(), proxy.getProxyAutoconfigUrl()); |
| 463 | } |
| 464 | |
| 465 | @Override |
| 466 | public int hashCode() { |
nothing calls this directly
no test coverage detected