Fix SpiderInfo read
This commit is contained in:
1 parent
e1b07b715f
commit
b4fc856a51
1 file changed
+1
-1
@@ -143,7 +143,7 @@ public class SpiderInfo {
|
||||
while (true) { // EOFException will raise
|
||||
line = IOUtils.readAsciiLine(is);
|
||||
int pos = line.indexOf(" ");
|
||||
if (pos > 0 || pos < line.length() - 1) {
|
||||
if (pos > 0) {
|
||||
int index = Integer.parseInt(line.substring(0, pos));
|
||||
String pToken = line.substring(pos + 1);
|
||||
if (!TextUtils.isEmpty(pToken)) {
|
||||
|
||||
Reference in new issue
Block a user