3.9K Star 22.6K Fork 7.8K

GVPdromara / hutool

 / 详情

CollUtil.java split bug

已完成
创建于  
2017-09-19 19:50
public static <T> List<List<T>> split(Collection<T> collection, int size) 
方法中
if (subList.size() > size) {
应该为if (subList.size() >= size) {
否则拆分数会比size大1

评论 (1)

刘浪 创建了任务
Looly 添加了标签bug

感谢。确认bug 3.1.2中会修复此问题~

Looly 关闭了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1463 loolly admin 1578914022
Java
1
https://gitee.com/dromara/hutool.git
git@gitee.com:dromara/hutool.git
dromara
hutool
hutool

搜索帮助