remove useless code

pull/88/head^2
yihua.huang 11 years ago
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…
Cancel
Save