Permalink
Browse files

* CrawlURI.java

    markPrerequisite() - call setPrerequisite(true) on the prerequisite CrawlURI
  • Loading branch information...
1 parent 995133d commit 264d3c6f5f97e97348031bab3dda2b1d9181546a @nlevitt nlevitt committed Oct 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/src/main/java/org/archive/modules/CrawlURI.java
@@ -1880,6 +1880,7 @@ public CrawlURI markPrerequisite(String preq)
Hop hop = Hop.PREREQ;
Link link = new Link(src, dest, lc, hop);
CrawlURI caUri = createCrawlURI(getBaseURI(), link);
+ caUri.setPrerequisite(true);
// TODO: consider moving some of this to candidate-handling
int prereqPriority = getSchedulingDirective() - 1;
if (prereqPriority < 0) {

0 comments on commit 264d3c6

Please sign in to comment.