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