(Object other)
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public boolean equals(Object other) { |
| 47 | if (this == other) { |
| 48 | return true; |
| 49 | } |
| 50 | if (other == null || getClass() != other.getClass()) { |
| 51 | return false; |
| 52 | } |
| 53 | HedgingPolicy that = (HedgingPolicy) other; |
| 54 | return maxAttempts == that.maxAttempts |
| 55 | && hedgingDelayNanos == that.hedgingDelayNanos |
| 56 | && Objects.equal(nonFatalStatusCodes, that.nonFatalStatusCodes); |
| 57 | } |
| 58 | |
| 59 | @Override |
| 60 | public int hashCode() { |