Commit 50247f9b authored by Yihua Huang's avatar Yihua Huang Committed by GitHub

Merge pull request #478 from ckex/develop

fix bug
parents 11904a4d e645524a
...@@ -586,6 +586,7 @@ public class Spider implements Runnable, Task { ...@@ -586,6 +586,7 @@ public class Spider implements Runnable, Task {
if (threadNum <= 0) { if (threadNum <= 0) {
throw new IllegalArgumentException("threadNum should be more than one!"); throw new IllegalArgumentException("threadNum should be more than one!");
} }
this.executorService = executorService;
return this; return this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment