diff options
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java b/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java index 85f05374a3e..acc5d3343b4 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java +++ b/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java @@ -84,6 +84,12 @@ public class DeprecatedIssueBuilderWrapper implements Issuable.IssueBuilder { } @Override + public IssueBuilder addLocation(NewIssueLocation secondaryLocation) { + newIssue.addLocation(secondaryLocation); + return this; + } + + @Override public IssueBuilder addFlow(Iterable<NewIssueLocation> flowLocations) { newIssue.addFlow(flowLocations); return this; |