Skip to content

Commit 260d88c

Browse files
authored
Merge pull request #111 from evgene-sh/patch-1
Update DownloaderFactory.java
2 parents 4aba97e + fc6650f commit 260d88c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/geccocrawler/gecco/downloader/DownloaderFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
public abstract class DownloaderFactory {
1616

17-
public static final String DEFAULT_DWONLODER = "httpClientDownloader";
17+
public static final String DEFAULT_DOWNLOADER = "httpClientDownloader";
1818

1919
private Map<String, Downloader> downloaders;
2020

@@ -45,7 +45,7 @@ public Downloader getDownloader(String name) {
4545
}
4646

4747
public Downloader defaultDownloader() {
48-
return downloaders.get(DEFAULT_DWONLODER);
48+
return downloaders.get(DEFAULT_DOWNLOADER);
4949
}
5050

5151
protected abstract Object createDownloader(Class<?> downloaderClass) throws Exception;

0 commit comments

Comments
 (0)