Skip to content

Commit

Permalink
Import IScheduler instead of Scheduler in DhtHandshake class
Browse files Browse the repository at this point in the history
`DhtHandshake` only needs the interface, rather than access to the full
`Scheduler` class.  This was not possible in dhtproto v13.x.x since its
minimum ocean dependency predated introduction of the interface, but we
can make this change in v14.x.x.
  • Loading branch information
joseph-wakeling-sociomantic authored and Gavin Norman committed Apr 10, 2018
1 parent 16e80d3 commit 88e86e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dhtproto/client/legacy/internal/helper/Handshake.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class DhtHandshake
import dhtproto.client.DhtClient;
import dhtproto.client.legacy.internal.helper.RetryHandshake;

import ocean.task.Scheduler;
import ocean.task.IScheduler;
import ocean.task.Task;
import ocean.task.util.Event;
import ocean.util.log.Logger;
Expand Down

0 comments on commit 88e86e6

Please sign in to comment.