fix for NPE

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5789 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 57c00dd8c9
commit c3aff2521e

@ -291,6 +291,7 @@ public class Dispatcher {
final int maxContainerCount, final int maxContainerCount,
final int maxReferenceCount, final int maxReferenceCount,
final int maxtime) throws IOException { final int maxtime) throws IOException {
if (this.transmissionCloud == null) return false;
ArrayList<ReferenceContainer> selectedContainerCache = selectContainers(hash, limitHash, maxContainerCount, maxReferenceCount, maxtime); ArrayList<ReferenceContainer> selectedContainerCache = selectContainers(hash, limitHash, maxContainerCount, maxReferenceCount, maxtime);
this.log.logInfo("selectContainersToCache: selectedContainerCache was filled with " + selectedContainerCache.size() + " entries"); this.log.logInfo("selectContainersToCache: selectedContainerCache was filled with " + selectedContainerCache.size() + " entries");

Loading…
Cancel
Save