diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-10-05 15:57:24 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-10-05 18:44:43 +0200 |
commit | 9bd6da57d295bec4f8d22d32c28cefd0032bceaa (patch) | |
tree | eb0272593943e69c3321aefc5d01de2474fd51f7 | |
parent | c5fa663836dce3902fe66cdc650b5260f36131c3 (diff) | |
download | sonarqube-9bd6da57d295bec4f8d22d32c28cefd0032bceaa.tar.gz sonarqube-9bd6da57d295bec4f8d22d32c28cefd0032bceaa.zip |
Issue attributes are supported
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java | 3 |
1 files changed, 2 insertions, 1 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 7bfbf6d81d2..85f05374a3e 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 @@ -108,7 +108,8 @@ public class DeprecatedIssueBuilderWrapper implements Issuable.IssueBuilder { @Override public IssueBuilder attribute(String key, String value) { - throw new UnsupportedOperationException("Unused"); + newIssue.addAttribute(key, value); + return this; } @Override |