Remove dead code

This commit is contained in:
Simon Willnauer 2016-06-16 15:29:49 +02:00
parent 8d3ef742db
commit e442f07460
1 changed files with 0 additions and 7 deletions

View File

@ -38,11 +38,4 @@ public interface QueryParser<QB extends QueryBuilder> {
* @return the new QueryBuilder * @return the new QueryBuilder
*/ */
Optional<QB> fromXContent(QueryParseContext parseContext) throws IOException; Optional<QB> fromXContent(QueryParseContext parseContext) throws IOException;
/**
* @return an empty {@link QueryBuilder} instance for this parser that can be used for deserialization
*/
default QB getBuilderPrototype() { // TODO remove this when nothing implements it
throw new UnsupportedOperationException();
}
} }