aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2022-06-29 15:31:28 +0200
committersonartech <sonartech@sonarsource.com>2022-07-01 20:03:06 +0000
commit05ebcc134533b03a324a2710c3fe6d711850a5c4 (patch)
tree378093f77e0dc6205a718a8ca089b17b6375c50f /server/sonar-db-dao
parente80f431e31504a51ed67193a6d5e8d9b0d2c0d62 (diff)
downloadsonarqube-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.java3
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;
}
}