782d70281e
Motivation: If we don't need the scheduled future, then it will be one less complication when we change Netty Future to no longer extend JDK Future. It would also result in fewer elements in our API. Modification: There was only one real use of ScheduledFuture in our code, in Cache. This has been changed to wrap an ordinary future with a deadline for implementing the Delayed interface. All other places were effectively overspecifying by relying on ScheduledFuture. A few places were also specifying JDK Futures - these have been changed to specify Netty Futures. Result: Reduced dependency on the ScheduledFuture interfaces. |
||
---|---|---|
.. | ||
java/io/netty/util/internal | ||
resources/io/netty/util/internal |