Query refactoring: resolve guice injection issue after last commit

This commit is contained in:
javanna 2015-08-13 19:09:07 +02:00 committed by Luca Cavanna
parent c797445457
commit 8ac439fc1b
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class IndicesQueriesRegistry extends AbstractComponent {
private ImmutableMap<String, QueryParser<?>> queryParsers; private ImmutableMap<String, QueryParser<?>> queryParsers;
@Inject @Inject
public IndicesQueriesRegistry(Settings settings, Set<QueryParser<?>> injectedQueryParsers, NamedWriteableRegistry namedWriteableRegistry) { public IndicesQueriesRegistry(Settings settings, Set<QueryParser> injectedQueryParsers, NamedWriteableRegistry namedWriteableRegistry) {
super(settings); super(settings);
Map<String, QueryParser<?>> queryParsers = Maps.newHashMap(); Map<String, QueryParser<?>> queryParsers = Maps.newHashMap();
for (QueryParser<?> queryParser : injectedQueryParsers) { for (QueryParser<?> queryParser : injectedQueryParsers) {