aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-11 08:38:54 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-02-11 08:46:08 +0100
commit8b61ed0708c261fb4984861589f37b2c138c4ea1 (patch)
tree13c29ab35c60b6a78acc5cc6c013168d5241919c /sonar-ws-client
parentf117f148923b471b7d6b9a8d65f26f01df29d43f (diff)
downloadsonarqube-8b61ed0708c261fb4984861589f37b2c138c4ea1.tar.gz
sonarqube-8b61ed0708c261fb4984861589f37b2c138c4ea1.zip
Fix quality flaw
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java
index 248a38ab915..5afedc38662 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java
@@ -66,7 +66,7 @@ public class DefaultIssueClient implements IssueClient {
@Override
public Issue assign(String issueKey, @Nullable String assignee) {
Map<String, Object> params = EncodingUtils.toMap("issue", issueKey, "assignee", assignee);
- String json = requestFactory.post("/api/issues/assign", params);
+ String json = requestFactory.post(ASSIGN_URL, params);
return jsonToIssue(json);
}