Because instanceof returns false on null, the explicit test for null would never be reached.

This commit is contained in:
jeb228 2011-02-07 15:22:36 +00:00
parent eee793bb32
commit 7c2de0dbf2

View file

@ -311,8 +311,6 @@ public class LuceneSearcher implements Searcher {
log.error("LuceneSearcher expects to get a LuceneQuery");
throw new Error("LuceneSearcher expects to get a LuceneQuery");
}
if( queryIn == null )
return null;
LuceneHighlighter highlighter = null;
try {