diff --git a/CHANGELOG.md b/CHANGELOG.md index 12796d4fd6..1f9515580d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,10 @@ Current ### Fixed: +- [Made a few injection points not useless](https://github.com/yahoo/fili/pull/98) + * Template types don't get the same subclass goodness that method invocation and + dependencies get, so this method did not allow returning a subclass of + `DruidQueryBuilder` or of `DruidResponseParser`. ### Known Issues: diff --git a/fili-core/src/main/java/com/yahoo/bard/webservice/application/AbstractBinderFactory.java b/fili-core/src/main/java/com/yahoo/bard/webservice/application/AbstractBinderFactory.java index 0acad6b756..b42312c1ea 100644 --- a/fili-core/src/main/java/com/yahoo/bard/webservice/application/AbstractBinderFactory.java +++ b/fili-core/src/main/java/com/yahoo/bard/webservice/application/AbstractBinderFactory.java @@ -334,7 +334,7 @@ protected void configure() { * * @return An isntance of the {@link DruidQueryBuilder} */ - protected Class buildDruidQueryBuilder() { + protected Class buildDruidQueryBuilder() { return DruidQueryBuilder.class; } @@ -343,7 +343,7 @@ protected Class buildDruidQueryBuilder() { * * @return An instance of the {@link DruidResponseParser} */ - protected Class buildDruidResponseParser() { + protected Class buildDruidResponseParser() { return DruidResponseParser.class; }