From 3c905a2a5c020db2a4bcc04771407ed65aa213a9 Mon Sep 17 00:00:00 2001 From: Apply55gx Date: Fri, 27 Oct 2017 14:00:30 +0200 Subject: [PATCH] fix typo --- ...terFromSraper.java => CrawlStarterFromScraper.java} | 10 +++++----- source/net/yacy/crawler/FileCrawlStarterTask.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename source/net/yacy/crawler/{CrawlStarterFromSraper.java => CrawlStarterFromScraper.java} (90%) diff --git a/source/net/yacy/crawler/CrawlStarterFromSraper.java b/source/net/yacy/crawler/CrawlStarterFromScraper.java similarity index 90% rename from source/net/yacy/crawler/CrawlStarterFromSraper.java rename to source/net/yacy/crawler/CrawlStarterFromScraper.java index afc8d9ba9..d487ac7b0 100644 --- a/source/net/yacy/crawler/CrawlStarterFromSraper.java +++ b/source/net/yacy/crawler/CrawlStarterFromScraper.java @@ -37,9 +37,9 @@ import net.yacy.document.parser.html.ContentScraperListener; * @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 @@ public class CrawlStarterFromSraper implements ContentScraperListener { * @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"); } diff --git a/source/net/yacy/crawler/FileCrawlStarterTask.java b/source/net/yacy/crawler/FileCrawlStarterTask.java index f4a636af8..3eabdd81f 100644 --- a/source/net/yacy/crawler/FileCrawlStarterTask.java +++ b/source/net/yacy/crawler/FileCrawlStarterTask.java @@ -139,7 +139,7 @@ public class FileCrawlStarterTask extends Thread { * 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);