aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-14 18:43:14 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-14 19:08:12 +0200
commit349eafcd5db96d0c206af7e2f9b67d24696afca6 (patch)
tree220e4bf4cd7f9542ae66c113908cb533cf88d605 /sonar-ws-client/src/main/java
parentf5f73537f6b8bf961cd189c93ed2b256dd66c7a2 (diff)
downloadsonarqube-349eafcd5db96d0c206af7e2f9b67d24696afca6.tar.gz
sonarqube-349eafcd5db96d0c206af7e2f9b67d24696afca6.zip
SONAR-3755 UI for adding comments
Diffstat (limited to 'sonar-ws-client/src/main/java')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
index 07f802fb8a9..43d0e33c6ac 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/user/UserQuery.java
@@ -52,9 +52,9 @@ public class UserQuery {
public UserQuery searchText(@Nullable String s) {
if (s != null) {
- params.put("q", s);
+ params.put("s", s);
} else {
- params.remove("q");
+ params.remove("s");
}
return this;
}