diff --git a/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java b/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java index 59479d845cd..66cb2b5c935 100644 --- a/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java +++ b/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java @@ -69,8 +69,6 @@ public class ClearScrollResponse extends ActionResponse implements StatusToXCont @Override public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { - builder.startObject(); - builder.endObject(); return builder; }