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