diff options
Diffstat (limited to 'sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java index 7d677cbbe82..1432fddeab4 100644 --- a/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java +++ b/sonar-server/src/main/java/org/sonar/server/issue/InternalRubyIssueService.java @@ -556,11 +556,9 @@ public class InternalRubyIssueService implements ServerComponent { /** * Execute a bulk change */ - public Result<IssueBulkChangeResult> bulkChange(Map<String, Object> props, String comment) { - Result<IssueBulkChangeResult> result = Result.of(); + public IssueBulkChangeResult bulkChange(Map<String, Object> props, String comment) { IssueBulkChangeQuery issueBulkChangeQuery = new IssueBulkChangeQuery(props, comment); - result.set(issueBulkChangeService.execute(issueBulkChangeQuery, UserSession.get())); - return result; + return issueBulkChangeService.execute(issueBulkChangeQuery, UserSession.get()); } private void checkMandatoryParameter(String value, String paramName, Result result) { |