Because instanceof returns false on null, the explicit test for null would never be reached.
This commit is contained in:
parent
eee793bb32
commit
7c2de0dbf2
1 changed files with 0 additions and 2 deletions
|
@ -311,8 +311,6 @@ public class LuceneSearcher implements Searcher {
|
||||||
log.error("LuceneSearcher expects to get a LuceneQuery");
|
log.error("LuceneSearcher expects to get a LuceneQuery");
|
||||||
throw new Error("LuceneSearcher expects to get a LuceneQuery");
|
throw new Error("LuceneSearcher expects to get a LuceneQuery");
|
||||||
}
|
}
|
||||||
if( queryIn == null )
|
|
||||||
return null;
|
|
||||||
|
|
||||||
LuceneHighlighter highlighter = null;
|
LuceneHighlighter highlighter = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue