if (scmInfoOptional.isPresent()) {
this.scmLineReader = new ScmLineReader(scmInfoOptional.get());
readers.add(scmLineReader);
} else {
this.scmLineReader = null;
<BUG>}
CloseableIterator<BatchReport.SyntaxHighlighting> highlightingIt = reportReader.readComponentSyntaxHighlighting(componentRef);</BUG>
closeables.add(highlightingIt);
<BUG>readers.add(new HighlightingLineReader(highlightingIt));
</BUG>
CloseableIterator<BatchReport.Symbol> symbolsIt = reportReader.readComponentSymbols(componentRef);

if (scmInfoOptional.isPresent()) {
this.scmLineReader = new ScmLineReader(scmInfoOptional.get());
readers.add(scmLineReader);
} else {
this.scmLineReader = null;
}
RangeOffsetConverter rangeOffsetConverter = new RangeOffsetConverter();
CloseableIterator<BatchReport.SyntaxHighlighting> highlightingIt = reportReader.readComponentSyntaxHighlighting(componentRef);
closeables.add(highlightingIt);
readers.add(new HighlightingLineReader(highlightingIt, rangeOffsetConverter));
CloseableIterator<BatchReport.Symbol> symbolsIt = reportReader.readComponentSymbols(componentRef);
