remove useless code
parent
b4fcf41168
commit
84976c81ec
|
@ -431,9 +431,6 @@ 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!");
|
||||||
}
|
}
|
||||||
if (threadNum == 1) {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue