From 3664ede9b5452180606cda01f532028091657e6f Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 16 Oct 2017 10:17:37 -0400 Subject: [PATCH] Remove unnecessary exception for engine constructor The internal engine constructor declares a checked engine exception yet this constructor does not actually throw this exception. This commit removes this declaration from the internal engine constructor. Relates #27022 --- .../java/org/elasticsearch/index/engine/InternalEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/index/engine/InternalEngine.java b/core/src/main/java/org/elasticsearch/index/engine/InternalEngine.java index 1781af70738..886ef662257 100644 --- a/core/src/main/java/org/elasticsearch/index/engine/InternalEngine.java +++ b/core/src/main/java/org/elasticsearch/index/engine/InternalEngine.java @@ -144,7 +144,7 @@ public class InternalEngine extends Engine { @Nullable private final String historyUUID; - public InternalEngine(EngineConfig engineConfig) throws EngineException { + public InternalEngine(EngineConfig engineConfig) { super(engineConfig); openMode = engineConfig.getOpenMode(); if (engineConfig.isAutoGeneratedIDsOptimizationEnabled() == false) {