Permalink
Browse files

fix typo

  • Loading branch information...
bn4t committed Oct 27, 2017
1 parent 8e732d4 commit 3c905a2a5c020db2a4bcc04771407ed65aa213a9
@@ -37,9 +37,9 @@
* @author luccioman
*
*/
public class CrawlStarterFromSraper implements ContentScraperListener {
public class CrawlStarterFromScraper implements ContentScraperListener {
private final static ConcurrentLog log = new ConcurrentLog(CrawlStarterFromSraper.class.getSimpleName());
private final static ConcurrentLog log = new ConcurrentLog(CrawlStarterFromScraper.class.getSimpleName());
/** CrawlStacker instance : will receive anchor links used as crawl starting points */
private CrawlStacker crawlStacker;
@@ -58,9 +58,9 @@
* @param replace Specify whether old indexed entries should be replaced
* @throws IllegalArgumentException when a required parameter is null
*/
public CrawlStarterFromSraper(final CrawlStacker crawlStacker, final byte[] initiatorHash,
final CrawlProfile profile,
final boolean replace) {
public CrawlStarterFromScraper(final CrawlStacker crawlStacker, final byte[] initiatorHash,
final CrawlProfile profile,
final boolean replace) {
if(crawlStacker == null) {
throw new IllegalArgumentException("crawlStacker parameter must not be null");
}
@@ -139,7 +139,7 @@ public void run() {
* This is the listener which makes possible the push of links to the
* crawl stacker without waiting the complete end of content scraping
*/
CrawlStarterFromSraper anchorListener = new CrawlStarterFromSraper(this.crawlStacker, this.initiatorHash,
CrawlStarterFromScraper anchorListener = new CrawlStarterFromScraper(this.crawlStacker, this.initiatorHash,
this.profile, true);
this.scraper.registerHtmlFilterEventListener(anchorListener);

0 comments on commit 3c905a2

Please sign in to comment.