From 0ead0faa1b4d4e62247db6b6edf76577b2129d2d Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 13 Oct 2015 20:51:43 +0200 Subject: [PATCH] fix typo --- core/src/main/java/org/elasticsearch/index/engine/Engine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {