Merge pull request #478 from ckex/develop

fix bug
pull/324/merge
Yihua Huang 8 years ago committed by GitHub
commit 50247f9bc6

@ -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;
} }

Loading…
Cancel
Save