changjun ye

Results 3 issues of changjun ye

the code of java Chapter05.java, method updateStats; if the key "startKey" is null , has not set it to redis; I see python has this logic, but java not.

question

// ------- pagevo ---------- if (!crawler.getRunConf().validWhiteUrl(link)) { // limit unvalid-page parse, only allow spread child return false; } 这一段代码返回false,如果用户设置了重试次数,会导致无意义的重试。这里应该返回true

在源码中好几处有这样的判断处理,这个不用判断吧直接返回err就行了? ```go if err != nil { return err } return nil ```