} else {
_logger.warning("Skipping forbidden path " + url);
}
}
if (links.size() == max) return;
UrlModel urlModel = _model.getUrlModel();
int count = urlModel.getChildCount(url);
for (int i=0; i<count; i++) {
HttpUrl child = urlModel.getChildAt(url, i);
queueLinksUnder(child, links, max);
if (links.size() == max) return;
}
}