(Object other)
| 69 | } |
| 70 | |
| 71 | @Override |
| 72 | public boolean equals(Object other) { |
| 73 | if (!(other instanceof RetryPolicy)) { |
| 74 | return false; |
| 75 | } |
| 76 | RetryPolicy that = (RetryPolicy) other; |
| 77 | return this.maxAttempts == that.maxAttempts |
| 78 | && this.initialBackoffNanos == that.initialBackoffNanos |
| 79 | && this.maxBackoffNanos == that.maxBackoffNanos |
| 80 | && Double.compare(this.backoffMultiplier, that.backoffMultiplier) == 0 |
| 81 | && Objects.equal(this.perAttemptRecvTimeoutNanos, that.perAttemptRecvTimeoutNanos) |
| 82 | && Objects.equal(this.retryableStatusCodes, that.retryableStatusCodes); |
| 83 | } |
| 84 | |
| 85 | @Override |
| 86 | public String toString() { |
no test coverage detected