}
private void setChecksumOnNewIssues(Collection<DefaultIssue> issues, SourceHashHolder sourceHashHolder) {
if (issues.isEmpty()) {
return;
}
<BUG>List<String> checksums = SourceChecksum.lineChecksumsOfFile(sourceHashHolder.getSource());</BUG>
for (DefaultIssue issue : issues) {
<BUG>issue.setChecksum(SourceChecksum.getChecksumForLine(checksums, issue.line()));
}</BUG>
}

}
mapIssues(newIssues, dbIssues, sourceHashHolder, result);
return result;
}
private void setChecksumOnNewIssues(Collection<DefaultIssue> issues, SourceHashHolder sourceHashHolder) {
if (issues.isEmpty()) {
return;
}
for (DefaultIssue issue : issues) {
if (issue.line() != null) {
issue.setChecksum(sourceHashHolder.getHashedSource().getHash(issue.line()));
}
}
}
