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:
orbiter 2008-02-03 22:14:22 +00:00
parent ff6b69b37e
commit df548f444f

View File

@ -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);