diff --git a/core/src/main/java/org/elasticsearch/index/engine/Engine.java b/core/src/main/java/org/elasticsearch/index/engine/Engine.java index 69ac57a3b47..1431cbd4f9d 100644 --- a/core/src/main/java/org/elasticsearch/index/engine/Engine.java +++ b/core/src/main/java/org/elasticsearch/index/engine/Engine.java @@ -600,7 +600,7 @@ public abstract class Engine implements Closeable { if (reader() instanceof DirectoryReader) { return (DirectoryReader) reader(); } - throw new IllegalStateException("Can't use " + reader().getClass() + " as an directory reader"); + throw new IllegalStateException("Can't use " + reader().getClass() + " as a directory reader"); } public IndexSearcher searcher() {