[Bugfix]loop error when add TargetRequest #99

pull/102/head
yihua.huang 11 years ago
parent 3a79b1b64a
commit b249e49748

@ -127,7 +127,7 @@ public class Page {
synchronized (targetRequests) {
for (String s : requests) {
if (StringUtils.isBlank(s) || s.equals("#") || s.startsWith("javascript:")) {
break;
continue;
}
s = UrlUtils.canonicalizeUrl(s, url.toString());
targetRequests.add(new Request(s).setPriority(priority));

Loading…
Cancel
Save