From 9bd6da57d295bec4f8d22d32c28cefd0032bceaa Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 5 Oct 2015 15:57:24 +0200 Subject: [PATCH] Issue attributes are supported --- .../org/sonar/batch/issue/DeprecatedIssueBuilderWrapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5