From be5eb376172dc3cdc231299abec295a6d6bc4e99 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Thu, 24 Dec 2015 01:01:30 +0100 Subject: [PATCH] Remove public imports --- source/poodinis/autowire.d | 3 ++- source/poodinis/container.d | 4 ++-- test/poodinis/autowiretest.d | 2 +- test/poodinis/containertest.d | 2 +- test/poodinis/registrationtest.d | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/source/poodinis/autowire.d b/source/poodinis/autowire.d index 218106a..6aa2d86 100644 --- a/source/poodinis/autowire.d +++ b/source/poodinis/autowire.d @@ -17,7 +17,8 @@ module poodinis.autowire; -public import poodinis.container; +import poodinis.container; +import poodinis.registration; import std.exception; import std.stdio; diff --git a/source/poodinis/container.d b/source/poodinis/container.d index 8d7386f..d5f67a4 100644 --- a/source/poodinis/container.d +++ b/source/poodinis/container.d @@ -21,8 +21,8 @@ debug { import std.stdio; } -public import poodinis.registration; -public import poodinis.autowire; +import poodinis.registration; +import poodinis.autowire; /** * Exception thrown when errors occur while resolving a type in a dependency container. diff --git a/test/poodinis/autowiretest.d b/test/poodinis/autowiretest.d index 93558bc..ac1db5e 100644 --- a/test/poodinis/autowiretest.d +++ b/test/poodinis/autowiretest.d @@ -5,7 +5,7 @@ * The full terms of the license can be found in the LICENSE file. */ -import poodinis.autowire; +import poodinis; import std.exception; diff --git a/test/poodinis/containertest.d b/test/poodinis/containertest.d index 33dd555..cfe6597 100644 --- a/test/poodinis/containertest.d +++ b/test/poodinis/containertest.d @@ -5,7 +5,7 @@ * The full terms of the license can be found in the LICENSE file. */ -import poodinis.container; +import poodinis; import std.exception; import core.thread; diff --git a/test/poodinis/registrationtest.d b/test/poodinis/registrationtest.d index 1fcd2f3..0723e25 100644 --- a/test/poodinis/registrationtest.d +++ b/test/poodinis/registrationtest.d @@ -5,7 +5,7 @@ * The full terms of the license can be found in the LICENSE file. */ -import poodinis.registration; +import poodinis; import std.exception;