From da5127258e536a6648653d189aa8c949a7ffc2f7 Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Fri, 19 May 2017 17:06:38 +0200 Subject: [PATCH] SONAR-9269 WS api/issues/add_comment change description to changelog --- .../java/org/sonar/server/issue/ws/AddCommentAction.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java index 4c3a996babe..b056349b8f3 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java @@ -21,6 +21,7 @@ package org.sonar.server.issue.ws; import com.google.common.io.Resources; import java.util.Date; +import org.sonar.api.server.ws.Change; import org.sonar.api.server.ws.Request; import org.sonar.api.server.ws.Response; import org.sonar.api.server.ws.WebService; @@ -68,9 +69,9 @@ public class AddCommentAction implements IssuesWsAction { public void define(WebService.NewController context) { WebService.NewAction action = context.createAction(IssuesWsParameters.ACTION_ADD_COMMENT) .setDescription("Add a comment.
" + - "Requires authentication and the following permission: 'Browse' on the project of the specified issue.
" + - "Since 6.3, the response contains the issue with all details, not only the added comment") + "Requires authentication and the following permission: 'Browse' on the project of the specified issue.") .setSince("3.6") + .setChangelog(new Change("6.3", "the response returns the issue with all its details")) .setHandler(this) .setResponseExample(Resources.getResource(this.getClass(), "add_comment-example.json")) .setPost(true); -- 2.39.5