fix ListUtil.page

This commit is contained in:
Looly 2020-10-22 10:56:22 +08:00
parent 5db99b05cb
commit f881d083a9
4 changed files with 6 additions and 7 deletions

View File

@ -3,11 +3,12 @@
-------------------------------------------------------------------------------------------------------------
# 5.4.6 (2020-10-21)
# 5.4.6 (2020-10-22)
### 新特性
* 【http 】 HttpRequest增加basicProxyAuth方法issue#I1YQGM@Gitee
* 【core 】 NumberUtil.toStr修改逻辑去掉BigDecimal的科学计数表示pr#196@Gitee
* 【core 】 ListUtil.page第一页页码使用PageUtilpr#198@Gitee
### Bug修复
* 【core 】 修复ChineseDate没有忽略时分秒导致计算错误问题issue#I1YW12@Gitee

View File

@ -231,7 +231,7 @@ public class ListUtil {
* 对指定List分页取值
*
* @param <T> 集合元素类型
* @param pageNo 页码从0开始计数0表示第一页
* @param pageNo 页码第一页的页码取决于{@link PageUtil#getFirstPageNo()}默认0
* @param pageSize 每页的条目数
* @param list 列表
* @return 分页后的段落内容

View File

@ -57,8 +57,6 @@ public class ListUtilTest {
@Test
public void pageTest(){
List<Integer> a = ListUtil.toLinkedList(1, 2, 3,4,5);
PageUtil.setFirstPageNo(1);

View File

@ -229,7 +229,7 @@ public class Scheduler implements Serializable {
}
/**
* 新增Task
* 新增Task如果任务ID已经存在抛出异常
*
* @param id ID为每一个Task定义一个ID
* @param pattern {@link CronPattern}对应的String表达式
@ -241,7 +241,7 @@ public class Scheduler implements Serializable {
}
/**
* 新增Task
* 新增Task如果任务ID已经存在抛出异常
*
* @param id ID为每一个Task定义一个ID
* @param pattern {@link CronPattern}对应的String表达式
@ -253,7 +253,7 @@ public class Scheduler implements Serializable {
}
/**
* 新增Task
* 新增Task如果任务ID已经存在抛出异常
*
* @param id ID为每一个Task定义一个ID
* @param pattern {@link CronPattern}