From af64a02ed1c4bfa349f7af2a2a65ff60c485c6a5 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 15 Dec 2014 22:53:58 +0100 Subject: [PATCH] Add toString() to IndexShardGateway --- .../org/elasticsearch/index/gateway/IndexShardGateway.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/elasticsearch/index/gateway/IndexShardGateway.java b/src/main/java/org/elasticsearch/index/gateway/IndexShardGateway.java index 1246fa43c64..5cfb079d6e6 100644 --- a/src/main/java/org/elasticsearch/index/gateway/IndexShardGateway.java +++ b/src/main/java/org/elasticsearch/index/gateway/IndexShardGateway.java @@ -356,4 +356,9 @@ public class IndexShardGateway extends AbstractIndexShardComponent implements Cl } } } + + @Override + public String toString() { + return "shard_gateway"; + } }