Collectors.toList() -> .toList()

master
mjkhan21 5 months ago
parent 896719ba27
commit 88815fb62a

@ -2,7 +2,6 @@ package cokr.xit.base.user.dao;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream; import java.util.stream.Stream;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper; import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
@ -110,7 +109,7 @@ public interface UserMapper extends AbstractMapper {
default int changePassword(String password, String... userIDs) { default int changePassword(String password, String... userIDs) {
List<?> userPasswords = Stream.of(userIDs) List<?> userPasswords = Stream.of(userIDs)
.map(userID -> new DataObject().set("userID", userID).set("password", password)) .map(userID -> new DataObject().set("userID", userID).set("password", password))
.collect(Collectors.toList()); .toList();
return changePassword( return changePassword(
params() params()

Loading…
Cancel
Save