From 9b10bb7693b2a741f1981ad0136ef0d1e0401623 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Tue, 9 Aug 2016 16:32:05 +0200 Subject: [PATCH] Fix toString method See https://github.com/elastic/elasticsearch/pull/19773#issuecomment-238564524 Was introduced with #18939 --- .../action/admin/cluster/node/tasks/list/ListTasksResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/tasks/list/ListTasksResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/tasks/list/ListTasksResponse.java index 605ce1fb269..87b4011377c 100644 --- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/tasks/list/ListTasksResponse.java +++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/tasks/list/ListTasksResponse.java @@ -199,6 +199,6 @@ public class ListTasksResponse extends BaseTasksResponse implements ToXContent { @Override public String toString() { - return Strings.toString(this); + return Strings.toString(this, true); } }