diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-18 09:43:40 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-18 18:35:44 +0100 |
commit | 162d76a0e6964f1d42069b42ce0362fedd151f75 (patch) | |
tree | 3d563421e8ceb4d1160f3d825292b3dda66f6b20 /sonar-ws | |
parent | 3b981515d02d5a0354ec0d7dcec52ff4d8135d06 (diff) | |
download | sonarqube-162d76a0e6964f1d42069b42ce0362fedd151f75.tar.gz sonarqube-162d76a0e6964f1d42069b42ce0362fedd151f75.zip |
SONAR-7210 WS user_tokens/search a user can search its own token5.4-M8
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/usertoken/SearchWsRequest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/usertoken/SearchWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/usertoken/SearchWsRequest.java index 4c69e9487de..3fd52b200ff 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/usertoken/SearchWsRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/usertoken/SearchWsRequest.java @@ -19,14 +19,18 @@ */ package org.sonarqube.ws.client.usertoken; +import javax.annotation.CheckForNull; +import javax.annotation.Nullable; + public class SearchWsRequest { private String login; + @CheckForNull public String getLogin() { return login; } - public SearchWsRequest setLogin(String login) { + public SearchWsRequest setLogin(@Nullable String login) { this.login = login; return this; } |