fix typo
This commit is contained in:
parent
1dca0e8f9b
commit
0ead0faa1b
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue