return selectUsers(dbSession, userQuery, pagination);
}
- private List<UserDto> selectUsers(DbSession dbSession, UserQuery userQuery, Pagination pagination) {
+ private static List<UserDto> selectUsers(DbSession dbSession, UserQuery userQuery, Pagination pagination) {
if (userQuery.getUserUuids() != null) {
return executeLargeInputs(
userQuery.getUserUuids(),
private final Long sonarLintLastConnectionDateTo;
private final Set<String> userUuids;
- public static UserQuery copyWithNewRangeOfUserUuids(UserQuery userQuery, Collection<String> userUuids) {
- return new UserQuery(userQuery, userUuids);
- }
-
private UserQuery(UserQuery userQuery, Collection<String> userUuids) {
this.searchText = userQuery.getSearchText();
this.isActive = userQuery.isActive();
this.userUuids = userUuids;
}
+ public static UserQuery copyWithNewRangeOfUserUuids(UserQuery userQuery, Collection<String> userUuids) {
+ return new UserQuery(userQuery, userUuids);
+ }
+
private static Long formatDateToInput(@Nullable OffsetDateTime dateTo) {
if (dateTo == null) {
return null;