几个小优化

This commit is contained in:
Looly 2022-11-17 01:14:25 +08:00
parent 21b91fcde6
commit f3d04e1f1f

View File

@ -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());
}
/**