Skip to content

Commit

Permalink
Fix checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserg committed Sep 28, 2016
1 parent cdbb729 commit 7d65d71
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,15 @@ public <T extends WebCrawler> void startNonBlocking(WebCrawlerFactory<T> crawler
* Start the crawling session and return immediately.
* This method utilizes default crawler factory that creates new crawler using Java reflection
*
* @param _c
* @param clazz
* the class that implements the logic for crawler threads
* @param numberOfCrawlers
* the number of concurrent threads that will be contributing in
* this crawling session.
* @param <T> Your class extending WebCrawler
*/
public <T extends WebCrawler> void startNonBlocking(final Class<T> _c,
final int numberOfCrawlers) {
this.start(new DefaultWebCrawlerFactory<>(_c), numberOfCrawlers, false);
public <T extends WebCrawler> void startNonBlocking(Class<T> clazz, int numberOfCrawlers) {
start(new DefaultWebCrawlerFactory<>(clazz), numberOfCrawlers, false);
}

protected <T extends WebCrawler> void start(final WebCrawlerFactory<T> crawlerFactory,
Expand Down

0 comments on commit 7d65d71

Please sign in to comment.