mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -134,7 +134,7 @@ public class CglibUtil {
|
||||
public static <S, T> List<T> copyList(Collection<S> source, Supplier<T> target, Converter converter, BiConsumer<S, T> callback) {
|
||||
return source.stream().map(s -> {
|
||||
T t = target.get();
|
||||
copy(source, t, converter);
|
||||
copy(s, t, converter);
|
||||
if (callback != null) {
|
||||
callback.accept(s, t);
|
||||
}
|
||||
|
Reference in New Issue
Block a user