From f6fbb733b87492813eb2d067d1b96afb92bbea18 Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Mon, 5 Jan 2015 13:47:25 -0800 Subject: [PATCH] Added a few places where tests were using Object instead of Module --- .../io/druid/server/initialization/IndexerZkConfigTest.java | 2 +- server/src/test/java/io/druid/guice/JsonConfigTesterBase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indexing-service/src/test/java/io/druid/server/initialization/IndexerZkConfigTest.java b/indexing-service/src/test/java/io/druid/server/initialization/IndexerZkConfigTest.java index 422fc05af83..d19d7b6490d 100644 --- a/indexing-service/src/test/java/io/druid/server/initialization/IndexerZkConfigTest.java +++ b/indexing-service/src/test/java/io/druid/server/initialization/IndexerZkConfigTest.java @@ -155,7 +155,7 @@ public class IndexerZkConfigTest { final Injector injector = Initialization.makeInjectorWithModules( GuiceInjectors.makeStartupInjector(), - ImmutableList.of(simpleZkConfigModule) + ImmutableList.of(simpleZkConfigModule) ); JsonConfigurator configurator = injector.getBinding(JsonConfigurator.class).getProvider().get(); diff --git a/server/src/test/java/io/druid/guice/JsonConfigTesterBase.java b/server/src/test/java/io/druid/guice/JsonConfigTesterBase.java index 02779522798..4aeb37659bc 100644 --- a/server/src/test/java/io/druid/guice/JsonConfigTesterBase.java +++ b/server/src/test/java/io/druid/guice/JsonConfigTesterBase.java @@ -136,7 +136,7 @@ public abstract class JsonConfigTesterBase testProperties.putAll(propertyValues); injector = Initialization.makeInjectorWithModules( GuiceInjectors.makeStartupInjector(), - ImmutableList.of(simpleJsonConfigModule) + ImmutableList.of(simpleJsonConfigModule) ); configurator = injector.getBinding(JsonConfigurator.class).getProvider().get(); configProvider = JsonConfigProvider.of(configPrefix, clazz);