p = iter.next();
if ((Boolean.TRUE.equals(p.isDisambiguationPage())) &&
(!p.isRedirect())) {
List<Page> links = p.getLinks();
if ((links == null) || (links.size() == 0)) {
addTask(new LinksWRCallable(wikipedia, this, api, p, null, null, false));
}
}
}
}
}