This commit is contained in:
Simon Willnauer 2015-10-13 20:51:43 +02:00
parent 1dca0e8f9b
commit 0ead0faa1b
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ public abstract class Engine implements Closeable {
if (reader() instanceof DirectoryReader) { if (reader() instanceof DirectoryReader) {
return (DirectoryReader) reader(); 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() { public IndexSearcher searcher() {