From 88815fb62a2e3304ca5703e0fd6c727fb89ea32f Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 3 Jul 2024 09:50:27 +0900 Subject: [PATCH] Collectors.toList() -> .toList() --- src/main/java/cokr/xit/base/user/dao/UserMapper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/base/user/dao/UserMapper.java b/src/main/java/cokr/xit/base/user/dao/UserMapper.java index 901036a..822eaf0 100644 --- a/src/main/java/cokr/xit/base/user/dao/UserMapper.java +++ b/src/main/java/cokr/xit/base/user/dao/UserMapper.java @@ -2,7 +2,6 @@ package cokr.xit.base.user.dao; import java.util.List; import java.util.Map; -import java.util.stream.Collectors; import java.util.stream.Stream; import org.egovframe.rte.psl.dataaccess.mapper.Mapper; @@ -110,7 +109,7 @@ public interface UserMapper extends AbstractMapper { default int changePassword(String password, String... userIDs) { List userPasswords = Stream.of(userIDs) .map(userID -> new DataObject().set("userID", userID).set("password", password)) - .collect(Collectors.toList()); + .toList(); return changePassword( params()