Merge pull request #478 from ckex/develop

fix bug
master
Yihua Huang 2017-03-06 09:43:11 +08:00 committed by GitHub
commit 50247f9bc6
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ public class Spider implements Runnable, Task {
if (threadNum <= 0) {
throw new IllegalArgumentException("threadNum should be more than one!");
}
this.executorService = executorService;
return this;
}