(Deadline other)
| 279 | } |
| 280 | |
| 281 | private void checkTicker(Deadline other) { |
| 282 | if (ticker != other.ticker) { |
| 283 | throw new AssertionError( |
| 284 | "Tickers (" + ticker + " and " + other.ticker + ") don't match." |
| 285 | + " Custom Ticker should only be used in tests!"); |
| 286 | } |
| 287 | } |
| 288 | } |