mirror of
https://gitee.com/dromara/hutool.git
synced 2025-07-30 22:10:27 +08:00
几个小优化
This commit is contained in:
parent
21b91fcde6
commit
f3d04e1f1f
@ -1087,9 +1087,7 @@ public class CollUtil {
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
return StreamUtil.of(collection)
|
||||
.map(mapper)
|
||||
.collect(Collectors.toList());
|
||||
return StreamUtil.of(collection).map(mapper).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user