mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
npe bugfix
This commit is contained in:
parent
8776b84c10
commit
4eff0e26f1
|
@ -472,7 +472,7 @@ public class SnippetProcess {
|
|||
}
|
||||
|
||||
// check if we have enough; we stop only if we can fetch online; otherwise its better to run this to get better navigation
|
||||
if (this.cacheStrategy.isAllowedToFetchOnline() && SnippetProcess.this.result.sizeAvailable() >= this.neededResults) {
|
||||
if ((this.cacheStrategy == null || this.cacheStrategy.isAllowedToFetchOnline()) && SnippetProcess.this.result.sizeAvailable() >= this.neededResults) {
|
||||
//Log.logWarning("ResultFetcher", SnippetProcess.this.result.sizeAvailable() + " = result.sizeAvailable() >= this.neededResults = " + this.neededResults);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user