mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
one more NPE patch for a search item case
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4440 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
ff6b69b37e
commit
df548f444f
|
@ -145,6 +145,7 @@ public class yacysearchitem {
|
|||
final Iterator<String> iter = topwords.iterator();
|
||||
while (iter.hasNext()) {
|
||||
word = (String) iter.next();
|
||||
if ((theQuery == null) || (theQuery.queryString == null)) break;
|
||||
if (word != null) {
|
||||
prop.putHTML("references_words_" + hintcount + "_word", word);
|
||||
prop.putHTML("references_words_" + hintcount + "_newsearch", theQuery.queryString.replace(' ', '+') + "+" + word);
|
||||
|
|
Loading…
Reference in New Issue
Block a user