From 5200665295146b4738c0a848e43ef259e78b18fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Tue, 4 Jul 2017 11:59:48 +0200 Subject: [PATCH] Remove deprecated IdsQueryBuilder constructor (#25529) The constructor using `types` has been deprecated for a while now (starting with ES 5.1.). It can be removed in the next mayor version. Since types are optional they should be added with the #types() setter. --- .../org/elasticsearch/index/query/IdsQueryBuilder.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java b/core/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java index e7a5972dc27..127a444b910 100644 --- a/core/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/IdsQueryBuilder.java @@ -65,15 +65,6 @@ public class IdsQueryBuilder extends AbstractQueryBuilder { // nothing to do } - /** - * Creates a new IdsQueryBuilder by providing the types of the documents to look for - * @deprecated Replaced by {@link #types(String...)} - */ - @Deprecated - public IdsQueryBuilder(String... types) { - types(types); - } - /** * Read from a stream. */