DescriptionThe current implementation of PlsParser (as of r97) calls readLine twice for each loop, therefore it only looks at every other line. Because of this it can miss a URL if the file only has one on a even numbered line. Then it throw a NRE because it's trying to evaluate .equals against null returned by readline (because it's at the end of the file).
This test and patch fix that.
Patch Set 1 #
MessagesTotal messages: 3
|