diff options
author | Matteo Mara <matteo.mara@sonarsource.com> | 2022-06-29 15:31:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-01 20:03:06 +0000 |
commit | 05ebcc134533b03a324a2710c3fe6d711850a5c4 (patch) | |
tree | 378093f77e0dc6205a718a8ca089b17b6375c50f /server/sonar-db-dao | |
parent | e80f431e31504a51ed67193a6d5e8d9b0d2c0d62 (diff) | |
download | sonarqube-05ebcc134533b03a324a2710c3fe6d711850a5c4.tar.gz sonarqube-05ebcc134533b03a324a2710c3fe6d711850a5c4.zip |
SONAR-16565 update the API api/user_tokens/generate for accepting the token expiration date
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r-- | server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDto.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDto.java b/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDto.java index 8c7cd8476e4..bcd9572efee 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDto.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDto.java @@ -144,7 +144,8 @@ public class UserTokenDto { return projectUuid; } - public void setProjectUuid(String projectUuid) { + public UserTokenDto setProjectUuid(@Nullable String projectUuid) { this.projectUuid = projectUuid; + return this; } } |