Commit Graph

2466 Commits

Author SHA1 Message Date
青韵
f77fd600a3 CollUtil参照Map.putIfAbsent,新增集合的addIfAbsent方法 2022-08-10 22:34:04 +08:00
Looly
0fdec254ed UrlBuilder的toURI方法将url重复编码 2022-08-09 21:14:49 +08:00
Looly
5a91443e36 fix bug 2022-08-06 18:51:28 +08:00
Liu Zhongyu
97dd0d5f0d 更新 ReflectUtil#setFieldValue 的 javadoc,使其与方法的实际行为相符 2022-08-03 16:07:08 +08:00
Looly
6bdd6924ea prepare 5.8.6 2022-07-30 00:09:07 +08:00
Looly
b1642d4625 ☃️release 5.8.5 2022-07-29 23:52:58 +08:00
Looly
2e349104a3 fix code 2022-07-29 23:48:40 +08:00
Looly
52dec0c301 修复Convert#toMap默认转成HashMap的问题 2022-07-29 22:13:46 +08:00
Looly
d4d8522cd4
!729 修复Convert#toMap默认转成HashMap的问题,关联issue#I5IG1F
Merge pull request !729 from 问北/v5-dev
2022-07-29 14:09:08 +00:00
Looly
bf98387000 新增zip文件解压大小限制,防止zip炸弹 2022-07-29 22:04:54 +08:00
Looly
a8c6cf94cd
!726 新增zip文件解压大小限制,防止zip炸弹
Merge pull request !726 from mingwang/v5-master
2022-07-29 13:59:10 +00:00
Looly
f798b39dfa
!727 修复isBase64判断不准确的问题
Merge pull request !727 from uyong/v5-dev
2022-07-29 13:55:37 +00:00
Looly
a5e1f2f3c6 NetUti类中ipv6ToBitInteger方法名称建议修改成ipv6ToBigInteger 2022-07-29 21:51:12 +08:00
Golden Looly
2e4c81bd01
Merge pull request #2485 from yujr1990/v5-dev
建议修改方法名,HashMap未设置初始化大小值,建议设置
2022-07-29 21:46:49 +08:00
Looly
22259e568f add test 2022-07-29 21:39:01 +08:00
Golden Looly
4344834ac2
Merge pull request #2475 from hiqiuyi/v5-dev
根据文字创建透明背景的PNG图片
2022-07-29 21:33:30 +08:00
Looly
3608cbb20f fix comment 2022-07-29 21:29:08 +08:00
Golden Looly
4123efcad9
Merge pull request #2492 from duhanmin/2484-v
测试在非覆盖模式下,来源对象值为null则不覆盖
2022-07-29 21:16:04 +08:00
sam
685071cff9 优化 PatternPool 中 TIME 的魔法值,复用 RegexPool 中的常量 2022-07-29 12:11:37 +08:00
duhanmin
348b0652b6 测试在非覆盖模式下,来源对象值为null则不覆盖 2022-07-28 21:22:00 +08:00
yujr
84664a9a69 @yujr
@0001
@修改方法名不合理,HashMap未设置初始化大小值
2022-07-27 10:25:09 +08:00
wenbei
bb85c40924 1.更新 Convert.toMap方法注释,格式化代码
2.删除mapToMapWithSelfTypeTest方法多余空行
2022-07-26 12:33:09 +08:00
wenbei
de52d71031 1.update Convert.toMap, If value is a map type, use its own type; otherwise, use HashMap
2.add Convert.toMap, Overload a method to specify the map type of conversion
2022-07-26 11:55:00 +08:00
hiqiuyi
0f2fc9f3ae 根据文字创建透明背景的PNG图片 2022-07-25 12:01:26 +08:00
gonggy
c111851996 修复isBase64判断不正确的问题 2022-07-24 14:14:18 +08:00
zhouxm
160fec0f69 说明
在对在对Zip文件解压时,判断该Zip文件是否是Zip炸弹,如果是Zip炸弹那么抛出异常

修改描述
[新特性] 新增限制zip文件解压后大小
2022-07-24 03:41:17 +08:00
Looly
a853ef6fea Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2022-07-22 16:59:07 +08:00
Looly
b74b7c682c fix code 2022-07-22 16:58:52 +08:00
Looly
e0abcb0b2e
!719 完善了codec包下一些方法的入参空校验
Merge pull request !719 from uyong/v5-dev
2022-07-22 08:57:55 +00:00
zhangrenhua
cf84d06cce 增加两个日期间隔时间处理接口 2022-07-22 15:01:40 +08:00
zhangrenhua
fe332dc2dc json序列化时,增加允许多个相同的key配置 2022-07-22 09:09:21 +08:00
gonggy
77c32d8981 1. 增加空判断
2. 优化变量命名
2022-07-21 18:24:35 +08:00
zhangrenhua
0ca9627663 参考java.util.concurrent.TimeUnit实现了一个FileSizeUnit工具包,与hutool中DataSize相比更加侧重于单位之间转换 2022-07-21 15:43:15 +08:00
zhangrenhua
2a3686631d Revert "参考java.util.concurrent.TimeUnit实现了一个FileSizeUnit工具包,与hutool中DataSize相比更加侧重于单位之间转换"
This reverts commit 064b163754.
2022-07-21 15:39:54 +08:00
zhangrenhua
8d2e4c3b4c Revert "扩展IoUtil、BooleanUtil两个工具类"
This reverts commit eefdd7fc
2022-07-21 15:36:05 +08:00
zhangrenhua
064b163754 参考java.util.concurrent.TimeUnit实现了一个FileSizeUnit工具包,与hutool中DataSize相比更加侧重于单位之间转换 2022-07-21 15:33:33 +08:00
zhangrenhua
e3a97c1a21 Merge branch 'v5-dev' of https://gitee.com/hellozrh/hutool into v5-dev 2022-07-21 15:23:37 +08:00
zhangrenhua
0da4339f51 Merge branch 'v5-dev' of https://gitee.com/hellozrh/hutool into v5-dev 2022-07-21 15:22:35 +08:00
gonggy
69782c0ced SystemPropsUtil.getBoolean方法应该只有值为true时才返回true,其他情况都应该返回false 2022-07-20 19:19:46 +08:00
Looly
88c36b8bfa 修复UrlBuilder无法配置末尾追加“/”问题 2022-07-20 13:13:14 +08:00
Looly
d09498a1a6
!716 Console.log应该把异常信息打印到out而不是err
Merge pull request !716 from uyong/dict-fixed
2022-07-20 04:12:56 +00:00
gonggy
35cdf306d8 Console.log应该把异常信息打印到out而不是err 2022-07-19 19:44:28 +08:00
Looly
e3b296e89d 修复Dict缺少putIfAbsent、computeIfAbsent问题 2022-07-19 10:57:18 +08:00
Looly
fad4886722
!715 添加了通用的注解扫描器 GenericAnnotationScanner,并在 AnnotationScanner 接口中统一提供了提前配置好的扫描器静态实例
Merge pull request !715 from Createsequence/feat-scanner
2022-07-19 02:41:45 +00:00
zhangrenhua
3d27c01819 Merge branch 'v5-dev' of https://gitee.com/hellozrh/hutool into v5-dev 2022-07-19 10:20:47 +08:00
huangchengxing
13b5b32384 添加元素扫描器与通用注解扫描器,在AnnotationScanner中统一提供已经配置好扫描模式的静态扫描器实例 2022-07-19 09:56:37 +08:00
gonggy
b83be40567 Dict增加覆盖putIfAbsent和computeIfAbsent的方法 2022-07-19 09:18:46 +08:00
huangchengxing
e02813b65b fix comment 2022-07-17 23:46:36 +08:00
huangchengxing
4a3b8d843a 修复元注解扫描器在注解出现循环引用时无限递归的问题 2022-07-17 23:46:26 +08:00
Looly
dfb12eb22c fix doc 2022-07-17 22:17:34 +08:00