From e442f07460b521b757ef11330b689202764f38d2 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Thu, 16 Jun 2016 15:29:49 +0200 Subject: [PATCH] Remove dead code --- .../java/org/elasticsearch/index/query/QueryParser.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/QueryParser.java b/core/src/main/java/org/elasticsearch/index/query/QueryParser.java index 222d3bd4963..c17b80460e3 100644 --- a/core/src/main/java/org/elasticsearch/index/query/QueryParser.java +++ b/core/src/main/java/org/elasticsearch/index/query/QueryParser.java @@ -38,11 +38,4 @@ public interface QueryParser { * @return the new QueryBuilder */ Optional 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(); - } }