From 9b0bc77b7a1d241b6b90e0c9efeff49b001ae257 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 21 Mar 2018 08:30:47 +0100 Subject: [PATCH] async: Remove unused imports --- source/tanya/async/event/epoll.d | 2 +- source/tanya/async/event/iocp.d | 2 +- source/tanya/async/event/kqueue.d | 2 +- source/tanya/async/event/selector.d | 2 +- source/tanya/async/iocp.d | 4 ++-- source/tanya/async/loop.d | 4 +--- source/tanya/async/package.d | 2 +- source/tanya/async/protocol.d | 2 +- source/tanya/async/transport.d | 2 +- source/tanya/async/watcher.d | 4 +--- 10 files changed, 11 insertions(+), 15 deletions(-) diff --git a/source/tanya/async/event/epoll.d b/source/tanya/async/event/epoll.d index ce2f15e..f0020ac 100644 --- a/source/tanya/async/event/epoll.d +++ b/source/tanya/async/event/epoll.d @@ -5,7 +5,7 @@ /** * Event loop implementation for Linux. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/event/iocp.d b/source/tanya/async/event/iocp.d index 69a49d3..9d09dcd 100644 --- a/source/tanya/async/event/iocp.d +++ b/source/tanya/async/event/iocp.d @@ -5,7 +5,7 @@ /** * Event loop implementation for Windows. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/event/kqueue.d b/source/tanya/async/event/kqueue.d index a170a15..0fb4739 100644 --- a/source/tanya/async/event/kqueue.d +++ b/source/tanya/async/event/kqueue.d @@ -5,7 +5,7 @@ /* * Event loop implementation for *BSD. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/event/selector.d b/source/tanya/async/event/selector.d index e388263..f8149cf 100644 --- a/source/tanya/async/event/selector.d +++ b/source/tanya/async/event/selector.d @@ -5,7 +5,7 @@ /* * This module contains base implementations for reactor event loops. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/iocp.d b/source/tanya/async/iocp.d index 1a72c60..2887c4a 100644 --- a/source/tanya/async/iocp.d +++ b/source/tanya/async/iocp.d @@ -7,7 +7,7 @@ * * Note: Available only on Windows. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) @@ -53,4 +53,4 @@ class State /// For keeping events or event masks. int event; -} \ No newline at end of file +} diff --git a/source/tanya/async/loop.d b/source/tanya/async/loop.d index 5f78183..a87eab3 100644 --- a/source/tanya/async/loop.d +++ b/source/tanya/async/loop.d @@ -60,7 +60,7 @@ * } * --- * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) @@ -70,8 +70,6 @@ module tanya.async.loop; import core.time; -import std.algorithm.iteration; -import std.algorithm.mutation; import std.typecons; import tanya.async.transport; import tanya.async.watcher; diff --git a/source/tanya/async/package.d b/source/tanya/async/package.d index 9958f66..140206e 100644 --- a/source/tanya/async/package.d +++ b/source/tanya/async/package.d @@ -5,7 +5,7 @@ /** * This package provides asynchronous capabilities. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/protocol.d b/source/tanya/async/protocol.d index 728ef19..2795c16 100644 --- a/source/tanya/async/protocol.d +++ b/source/tanya/async/protocol.d @@ -9,7 +9,7 @@ * When an event from the network arrives, a protocol method gets * called and can respond to the event. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/transport.d b/source/tanya/async/transport.d index a2a5d28..108a295 100644 --- a/source/tanya/async/transport.d +++ b/source/tanya/async/transport.d @@ -6,7 +6,7 @@ * This module contains transports which are responsible for data dilvery * between two parties of an asynchronous communication. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) diff --git a/source/tanya/async/watcher.d b/source/tanya/async/watcher.d index c9d58b3..9ecb300 100644 --- a/source/tanya/async/watcher.d +++ b/source/tanya/async/watcher.d @@ -5,7 +5,7 @@ /** * Watchers register user's interest in some event. * - * Copyright: Eugene Wissner 2016-2017. + * Copyright: Eugene Wissner 2016-2018. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). * Authors: $(LINK2 mailto:info@caraus.de, Eugene Wissner) @@ -14,8 +14,6 @@ */ module tanya.async.watcher; -import std.exception; -import std.functional; import tanya.async.loop; import tanya.async.protocol; import tanya.async.transport;