use of org.sonar.api.batch.sensor.issue.IssueLocation in project sonarqube by SonarSource.
the class DefaultIssue method addFlow.
@Override
public DefaultIssue addFlow(Iterable<NewIssueLocation> locations) {
List<IssueLocation> flowAsList = new ArrayList<>();
for (NewIssueLocation issueLocation : locations) {
flowAsList.add((DefaultIssueLocation) issueLocation);
}
flows.add(flowAsList);
return this;
}
Aggregations