}
try {
- return new ParserCloseableIterator<>(BatchReport.Test.PARSER, FileUtils.openInputStream(file));
+ return new ParserCloseableIterator<>(BatchReport.Test.parser(), FileUtils.openInputStream(file));
} catch (IOException e) {
Throwables.propagate(e);
// actually never reached
}
try {
- return new ParserCloseableIterator<>(BatchReport.CoverageDetail.PARSER, FileUtils.openInputStream(file));
+ return new ParserCloseableIterator<>(BatchReport.CoverageDetail.parser(), FileUtils.openInputStream(file));
} catch (IOException e) {
Throwables.propagate(e);
// actually never reached