Commit Graph

1730 Commits

Author SHA1 Message Date
Looly
2af4333ea1 add test 2021-10-08 18:07:12 +08:00
王良
1f054ca1b8 Base64.isBase64(base64)方法,如果存在双字节字符,直接返回false。 2021-10-08 17:39:34 +08:00
QunXingShanShuo
6bbd8451fb feat: ReflectUtil中加入通过条件过滤选择属性
ReflectUtil中加入通过条件过滤选择属性
2021-10-08 17:14:09 +08:00
Looly
26c4a44adc add stream support for csv 2021-10-08 16:57:02 +08:00
Looly
fc1dedb345 fix doc 2021-10-07 23:51:51 +08:00
Looly
e0848d2b68 fix doc 2021-10-07 23:49:55 +08:00
Looly
530ce9fab5 add of 2021-10-07 23:13:09 +08:00
Golden Looly
2f2273c50b
Merge pull request #1872 from ls586/v5-dev
从LocalDate中获取Week
2021-10-07 23:10:27 +08:00
Looly
cff7c1cedd add Opt 2021-10-07 22:36:41 +08:00
Ron
f553d6d2cb 从LocalDate中获取Week 2021-10-01 01:06:18 +08:00
VampireAchao
75a14ef1fa 参考jdk16中的Optional,以及自己进行了一点调整和新增,比jdk8中的Optional多了几个实用的函数,将即将废弃的OptionalBean死灰复燃 2021-10-01 00:07:05 +08:00
Golden Looly
c33eb83a90
Merge pull request #1861 from anaer/patch-6
Update DateUtil.java
2021-09-30 17:38:06 +08:00
Golden Looly
4acad0afd8
Merge pull request #1862 from anaer/patch-7
Update StopWatch.java
2021-09-30 17:37:45 +08:00
Golden Looly
dc1f7782e5
Merge pull request #1863 from anaer/patch-8
Update ListTypeGetter.java
2021-09-30 17:37:24 +08:00
Golden Looly
6ccae6646e
Merge pull request #1866 from anaer/patch-9
Update PathUtil.java
2021-09-30 17:37:08 +08:00
Golden Looly
8039ed6df8
Merge pull request #1868 from anaer/patch-10
Update TreeBuilder.java
2021-09-30 17:36:40 +08:00
Golden Looly
ca67bcbf95
Merge pull request #1869 from anaer/patch-11
Update TreeUtil.java
2021-09-30 17:35:55 +08:00
Golden Looly
bf83503320
Merge pull request #1870 from anaer/patch-12
Update Assert.java
2021-09-30 17:35:16 +08:00
lvcn
5fb8f1b857 fix typo, removeEqual对value为null情况未处理 2021-09-30 17:20:44 +08:00
anaer
2d9ef86951
Update Assert.java
fix comment
2021-09-30 16:16:23 +08:00
anaer
05506ec2ed
Update TreeUtil.java
typo
2021-09-30 15:06:21 +08:00
anaer
c50b1b302f
Update TreeBuilder.java
跟上面的checkBuilt(); 重复了
2021-09-30 14:54:31 +08:00
anaer
cd1a372ab1
Update PathUtil.java
typo
2021-09-30 11:10:54 +08:00
anaer
94342c6682
Update ListTypeGetter.java
typo
2021-09-29 17:23:50 +08:00
anaer
be8df2bf67
Update StopWatch.java
fix comment
2021-09-29 17:09:36 +08:00
anaer
cc18205c9e
Update DateUtil.java
fix comment
2021-09-29 16:57:10 +08:00
Looly
58355265ff fix code 2021-09-29 11:59:24 +08:00
Looly
43e24c1498 !421 处理了Collectors.toMap未指定key重复策略 导致的java.lang.IllegalStateException: Duplicate key 问题
Merge pull request !421 from 阿超/v5-dev
2021-09-29 03:37:29 +00:00
Looly
451ebb6bcc fix comment 2021-09-29 11:36:32 +08:00
Golden Looly
659ebbd62a
Merge pull request #1860 from wangliang181230/optimize-base64
优化Base64.isBase64方法:减少一次多余的判断
2021-09-29 11:10:15 +08:00
王良
a7bfa8e114 Base64.isBase64方法,减少一次多余的判断。 2021-09-29 10:55:43 +08:00
Looly
ca0e66d9b4 add methods 2021-09-29 10:51:44 +08:00
Golden Looly
e6d2296350
Merge pull request #1857 from anaer/patch-5
Update BeanUtil.java
2021-09-29 10:04:31 +08:00
anaer
cd01a063ee
Update BeanUtil.java
typo
2021-09-28 17:53:07 +08:00
achao
651bca7c99 处理了Collectors.toMap未指定key重复策略 导致的java.lang.IllegalStateException: Duplicate key 问题 2021-09-28 16:36:24 +08:00
anaer
4b8774fb70
Update ClassUtil.java
typo
2021-09-28 10:48:06 +08:00
Looly
36397e615d fix comment 2021-09-28 01:33:04 +08:00
Looly
aaaf2b7f03 fix firstday 2021-09-28 01:22:26 +08:00
Looly
0ff44155c7 add test 2021-09-28 00:56:12 +08:00
Looly
f1b6d84fe7 fix code 2021-09-28 00:24:26 +08:00
Looly
1072639f3b add method 2021-09-28 00:14:58 +08:00
Looly
9642fa8862 fix code 2021-09-28 00:07:13 +08:00
Looly
75d84b4768 add method 2021-09-27 22:53:12 +08:00
Looly
ed85f81cea fix test 2021-09-27 22:36:14 +08:00
zeyu cai
edd57e82d4 fix flaky test cn.hutool.core.util.JAXBUtilTest#beanToXmlTest. no performance regress related. test file changed only. 2021-09-27 04:57:04 -05:00
Looly
1ab9b6b3e9 fix get null bug 2021-09-27 11:56:33 +08:00
Looly
6db6d70293 add test 2021-09-25 19:42:40 +08:00
Looly
ce33b3d5cb add test 2021-09-25 18:53:12 +08:00
Looly
bebacf2d00 fix split 2021-09-25 18:20:12 +08:00
Looly
e16ec27c40 add iter 2021-09-25 11:25:51 +08:00
Golden Looly
35b9212103
Merge pull request #1841 from Hccake/v5-dev
在做字符串切割时,允许传入 mapping 方法,来对切割后的元素做一个处理
2021-09-25 09:49:25 +08:00
Looly
d243764d51 change date converter 2021-09-24 23:22:31 +08:00
Looly
7b6593fe68 add YamlUtil 2021-09-24 15:29:56 +08:00
Hccake
f1eb5cc439 Allows to customize the mapping method for each element in a list after splitting a string 2021-09-24 12:17:06 +08:00
Looly
0c3980d0fd prepare 5.7.14 2021-09-17 22:54:34 +08:00
Looly
aa9b827057 🌵release 5.7.13 2021-09-17 22:36:10 +08:00
Looly
59be04e0a5 add test 2021-09-17 21:15:04 +08:00
Looly
545e2d4774 fix comment 2021-09-17 20:11:18 +08:00
Looly
b935ace121 add method 2021-09-17 20:02:41 +08:00
Looly
2f57c2aaf9 !416 CollUtil新增2个互换元素位置的静态方法
Merge pull request !416 from TanLongHui/v5-dev
2021-09-17 11:54:44 +00:00
Looly
aafcecc3d9 add method 2021-09-17 19:29:18 +08:00
Looly
96c83cb16b fix bug 2021-09-17 19:15:43 +08:00
TLH
3fc4d134af CollUtil新增2个互换元素位置的静态方法以及对应单元测试
方法1:swapIndex   指定列表元素A与索引index所在元素互换位置
方法2:swapElement 指定列表元素A与列表元素B互换位置
2021-09-15 16:02:20 +08:00
bob.guo
26b6838339 isLinked 为true时 创建的是linkList 2021-09-14 10:06:00 +08:00
Looly
1b0d5d2cf1 fix bug 2021-09-14 09:58:21 +08:00
Looly
46cffe4ed2 add author 2021-09-13 12:00:57 +08:00
Looly
612441615d change method param 2021-09-13 11:53:12 +08:00
Looly
d3f946dd33 change position of trim 2021-09-13 09:15:42 +08:00
Looly
fefd88b358 fix test 2021-09-12 01:43:12 +08:00
Looly
bf8906eb48 fix frgment encode 2021-09-12 01:19:16 +08:00
Looly
07c69efa92 fix test 2021-09-12 00:15:30 +08:00
Looly
a7817ab5b0 add config 2021-09-11 23:44:38 +08:00
Looly
f08ae8cf7d fix code 2021-09-10 21:17:41 +08:00
Looly
783a02cce4 fix bu 2021-09-10 19:51:46 +08:00
Looly
caab40f8ea fix code 2021-09-10 19:25:44 +08:00
Looly
22a3c3a936 fix code 2021-09-10 19:25:33 +08:00
Looly
0595b91634 fix bug 2021-09-10 19:24:04 +08:00
Looly
ba4fabb88c fix pink bug 2021-09-10 19:07:08 +08:00
Looly
a0f407865e fix code 2021-09-10 09:32:00 +08:00
Looly
7a25b73376 prepare 5.7.13 2021-09-09 23:18:33 +08:00
Looly
9a736580ac 🥔release 5.7.12 2021-09-09 21:51:02 +08:00
Looly
feed45c12c fix bug 2021-09-09 19:29:00 +08:00
Looly
a1ee4d27c3 fix bug 2021-09-09 19:15:43 +08:00
Looly
02885bbcd3 add ZUC 2021-09-09 16:14:37 +08:00
Looly
5be6c0103b add test 2021-09-09 11:53:11 +08:00
Looly
57c191fe1c Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-09-08 12:12:55 +08:00
Looly
5ae924b9c6 fix path 2021-09-08 12:09:31 +08:00
Looly
afce68cd1c !410 更改CollUtil#emptyIfNull入参名称更加合理
Merge pull request !410 from 这个网名不错/v5-dev
2021-09-08 03:57:31 +00:00
Looly
8ddf18fb7a add interface 2021-09-08 11:11:27 +08:00
lixiaohua
443aca6c78 rename 2021-09-08 10:08:31 +08:00
Looly
4c237ba95e add test and change AES costructor 2021-09-07 23:54:57 +08:00
Looly
c50a63a196 fix bug 2021-09-07 14:51:07 +08:00
Looly
758fb793fc add method 2021-09-07 13:33:37 +08:00
Looly
36cf627f3d add method 2021-09-06 17:59:01 +08:00
Looly
7379e27d56 add method 2021-09-06 16:12:33 +08:00
Looly
3acb81a58a fix bug 2021-09-06 09:52:22 +08:00
Looly
186eeb8054 add test 2021-09-02 15:07:38 +08:00
Looly
4a384f6a5c deprecate OptionalBean 2021-09-02 13:56:19 +08:00
Golden Looly
efa9828cdd
Merge pull request #1805 from anaer/patch-1
Update CharsetDetector.java
2021-09-01 22:28:12 +08:00
Looly
303c77a08d add null check 2021-09-01 22:14:15 +08:00
anaer
69ee7ba40a
Update CharsetDetector.java
typo
2021-09-01 17:25:43 +08:00
Looly
fa6882f480 prepare 5.7.12 2021-08-31 22:44:06 +08:00
Looly
c36f9f55db 🍱release 5.7.11 2021-08-31 17:36:43 +08:00
Looly
838a3ecfa4 fix commnet 2021-08-31 08:32:39 +08:00
Looly
fca32ecefd add test 2021-08-30 12:52:10 +08:00
Looly
424e6e817e add test 2021-08-30 12:22:54 +08:00
Looly
9ba4b008b2 add constrctor 2021-08-30 10:59:11 +08:00
Looly
3e23982329 add docx check 2021-08-30 09:32:21 +08:00
Looly
9a4202ee7d prepare 5.7.11 2021-08-27 01:08:59 +08:00
Looly
611039ae67 🍳release 5.7.10 2021-08-27 00:50:59 +08:00
Looly
e800b9cc3a add alias support 2021-08-27 00:47:24 +08:00
Golden Looly
9bae66f219
Merge pull request #1792 from Inmord/v5-dev-optimal-comb
当n = m时,C(n, m) = C(n, n) = 1。
2021-08-26 23:47:51 +08:00
Looly
d66efef873 add constructor 2021-08-26 23:40:28 +08:00
Looly
c0510a4c66 !403 exception工具类优化
Merge pull request !403 from 赵龙波/v5-dev
2021-08-26 15:31:11 +00:00
Looly
8adf96eaab add methods 2021-08-26 23:27:37 +08:00
zhaolongbo
40a6ffbea0 创建异常对象时会调用父类Throwable的fillInStackTrace()方法生成栈追踪信息,这部分对系统性能开销很大。JDk7开始 异常类增加了爬栈开关,这里同样增加构造方法方便根据业务情况自定义是否关闭和打开 2021-08-26 22:28:41 +08:00
刘生平
ad5bba2703 当n = m时,C(n, m) = C(n, n) = 1。 2021-08-26 21:05:07 +08:00
Looly
548852670c Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-08-26 17:15:35 +08:00
qiuxuquan
e9b4400747 修正方法注释 2021-08-26 06:58:51 +00:00
Looly
d0aff3e3cd add methods 2021-08-26 11:58:02 +08:00
Looly
b88de146f6 add method 2021-08-26 11:49:52 +08:00
Looly
8e5ad32e70 add method 2021-08-25 15:25:25 +08:00
Looly
9a21da9c78 add FuncComparator 2021-08-24 23:13:10 +08:00
Looly
f06a04a965 add method 2021-08-22 19:06:25 +08:00
Looly
40828f69d1 add method 2021-08-22 17:53:02 +08:00
Looly
8be645e9fb !397 将list集合平均分成多个list
Merge pull request !397 from lileming/v5-dev
2021-08-22 08:49:42 +00:00
Looly
d52c32154a fix code 2021-08-20 16:30:31 +08:00
lileming
62712e8ed6 将集合平均分成多个list 2021-08-20 11:49:30 +08:00
Looly
d19e78b202 fix code 2021-08-20 08:48:02 +08:00
Golden Looly
da2ddf263a
Merge pull request #1774 from Xxpain/v5-dev
优化代码
2021-08-20 08:40:38 +08:00
super.xie
8180674d21 去除未使用的导入语句 2021-08-20 01:28:41 +08:00
super.xie
44a45a7d04 复用已存在方法 2021-08-20 01:26:38 +08:00
Looly
7c6d7526b6 add format support 2021-08-19 18:27:42 +08:00
duandazhi
c92ccb7316 1、DateUtil yyyy-MM-dd HH:mm:ss.SSSSSS 格式支持
2、DateConverter 增加验证, 入参是 空串,返回null, 而不是抛异常; (生产环境会出现 空串的情况; 异常交给调用者自行抛出)
2021-08-19 16:17:20 +08:00
Looly
dbc4fd62ce fix sort bug 2021-08-19 14:36:07 +08:00
Looly
9d8f00e049 add methods 2021-08-19 11:39:13 +08:00
Looly
5dce48db5e add methods 2021-08-18 21:43:49 +08:00
Looly
8c1fced281 add Partition 2021-08-18 18:28:29 +08:00
Looly
9b58b8295a fix config 2021-08-18 09:24:54 +08:00
Looly
2b04713104 add page 2021-08-17 21:57:41 +08:00
Golden Looly
c6291993f9
Merge pull request #1761 from luckymorning/v5-dev
增加列表分页并逐页返回数据的工具方法
2021-08-17 21:34:09 +08:00
Looly
d29cd5c9ea add NammingCase 2021-08-17 16:56:11 +08:00
Looly
0060d5ebbb fix code 2021-08-17 16:14:28 +08:00
Looly
83cbd4ea20 prepare 5.7.10 2021-08-17 08:21:30 +08:00
Looly
4821ca3911 🍿release 5.7.9 2021-08-17 08:02:39 +08:00
Looly
3fe722554c fix bugs 2021-08-16 22:33:30 +08:00
Looly
f288c497b8 add check 2021-08-16 21:11:28 +08:00
Looly
ae1eb46e90 fix test 2021-08-12 18:23:42 +08:00
Looly
94584edb9b prepare 5.7.9 2021-08-12 13:15:21 +08:00
Looly
2d9ce5f9ba 🌯release 5.7.8 2021-08-12 13:02:41 +08:00