From e2c3bc14f0e8cfc710896b1d1e753fd7dc494760 Mon Sep 17 00:00:00 2001 From: Julien Camus Date: Fri, 4 Oct 2024 16:59:43 +0200 Subject: SONAR-23265 Fix SSF-623 --- server/sonar-db-dao/src/main/java/org/sonar/db/user/UserDao.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'server/sonar-db-dao/src') diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserDao.java b/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserDao.java index 39d4954a4ef..4172316e444 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserDao.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/user/UserDao.java @@ -78,7 +78,7 @@ public class UserDao implements Dao { * Select users by uuids, including disabled users. An empty list is returned * if list of uuids is empty, without any db round trips. * - * @return + * @return a list of users, in the same order as input uuids */ public List selectByUuids(DbSession session, Collection uuids) { return executeLargeInputs(uuids, mapper(session)::selectByUuids); @@ -113,8 +113,7 @@ public class UserDao implements Dao { userQuery.getUserUuids(), partialSetOfUsers -> mapper(dbSession).selectUsers( UserQuery.copyWithNewRangeOfUserUuids(userQuery, partialSetOfUsers), - pagination) - ); + pagination)); } return mapper(dbSession).selectUsers(userQuery, pagination); } @@ -191,7 +190,7 @@ public class UserDao implements Dao { /** * Search for an active user with the given emailCaseInsensitive exits in database - * Select is case insensitive. Result for searching 'mail@emailCaseInsensitive.com' or 'Mail@Email.com' is the same + * Select is case-insensitive. Result for searching 'mail@emailCaseInsensitive.com' or 'Mail@Email.com' is the same */ public List selectByEmail(DbSession dbSession, String emailCaseInsensitive) { return mapper(dbSession).selectByEmail(emailCaseInsensitive.toLowerCase(ENGLISH)); -- cgit v1.2.3