From d0d2d2be8c2cbd94949273b4bc848aa0430c10a4 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Fri, 6 May 2016 16:14:43 -0400 Subject: [PATCH] Fix exception message in lifecycle This commit fixes the exception messages for lifecycles when stopping in illegal states. Relates #18189 --- .../elasticsearch/common/component/Lifecycle.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/common/component/Lifecycle.java b/core/src/main/java/org/elasticsearch/common/component/Lifecycle.java index 479496dd9b6..4f0ef4c6887 100644 --- a/core/src/main/java/org/elasticsearch/common/component/Lifecycle.java +++ b/core/src/main/java/org/elasticsearch/common/component/Lifecycle.java @@ -19,7 +19,6 @@ package org.elasticsearch.common.component; - /** * Lifecycle state. Allows the following transitions: *