Merge pull request #1010 from metamx/fixTestsModuleMissing

Added a few places where tests were using Object instead of Module
This commit is contained in:
Fangjin Yang 2015-01-05 14:04:10 -08:00
commit dec424b4af
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ public class IndexerZkConfigTest
{
final Injector injector = Initialization.makeInjectorWithModules(
GuiceInjectors.makeStartupInjector(),
ImmutableList.<Object>of(simpleZkConfigModule)
ImmutableList.<Module>of(simpleZkConfigModule)
);
JsonConfigurator configurator = injector.getBinding(JsonConfigurator.class).getProvider().get();

View File

@ -136,7 +136,7 @@ public abstract class JsonConfigTesterBase<T>
testProperties.putAll(propertyValues);
injector = Initialization.makeInjectorWithModules(
GuiceInjectors.makeStartupInjector(),
ImmutableList.<Object>of(simpleJsonConfigModule)
ImmutableList.<Module>of(simpleJsonConfigModule)
);
configurator = injector.getBinding(JsonConfigurator.class).getProvider().get();
configProvider = JsonConfigProvider.of(configPrefix, clazz);