(@Nullable Object o)
| 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() { |
nothing calls this directly
no test coverage detected