1208 Commits

Author SHA1 Message Date
Looly
c6ce5fe215 修复FileMagicNumber长度判断问题导致的越界异常 2023-03-12 15:58:45 +08:00
Looly
a3f48ccb29 修复BeanUtil.hasGetter没有跳过getClass方法的问题 2023-03-12 13:26:00 +08:00
Looly
ee57e381b0 改进XmlUtil.xmlToBean,支持xml转bean时父节点忽略大小写 2023-03-10 13:19:39 +08:00
Looly
aef20c411d 改进Calculator.conversion,兼容乘法符号省略写法 2023-03-09 20:41:02 +08:00
Looly
bdceb0013d add test 2023-03-08 23:06:21 +08:00
Looly
3d10a39ea3 修复NumberWithFormat导致转换Long异常问题 2023-03-08 22:40:56 +08:00
Looly
cc9bd54cc8 add test 2023-03-07 18:22:31 +08:00
Looly
ccc316ee8c JavaSourceCompilerTest 2023-03-03 20:43:42 +08:00
Golden Looly
dc74b829a4
Merge pull request #2942 from xuwenping123/v5_dev_compile
add source code for dynamic compile
2023-03-03 20:41:14 +08:00
Looly
a25a707e3a add test 2023-03-03 18:18:39 +08:00
xuwenping
f0d94c9806 add source code for dynamic compile 2023-03-02 22:45:33 +08:00
Looly
5fcd4093be PhoneUtil.isTel400800支持400-XXX-XXXX格式 2023-02-28 22:18:57 +08:00
Looly
fe7751342e 修复isXXX转换时的匹配问题 2023-02-22 19:33:56 +08:00
Looly
c8124bd0c6 add test 2023-02-21 16:05:25 +08:00
Golden Looly
ca2fbf45f3
Merge pull request #2912 from jptx1234/v5-dev
修复ReflectUtil.invokeRaw方法中参数类型转换动作未生效的问题
2023-02-21 15:55:55 +08:00
Looly
c3f378207b 修复ReUtil.delAll方法当 content 仅为空格时的问题 2023-02-21 11:44:46 +08:00
jptx1234
12abd63460 修复ReflectUtil.invokeRaw方法中参数类型转换动作未生效的问题 2023-02-20 00:11:49 +08:00
Zjp
6cd85b7f16 fix StrUtil.split切分长度为0时的bug; 2023-02-17 10:50:31 +08:00
Golden Looly
66949c9b4b
Merge pull request #2894 from winlans/v5-dev
fix FileUtil.move
2023-02-15 17:39:37 +08:00
mochouZero555
9ba833313c IssueI6E6ZG 法定年龄 由虚岁计算改未周岁计算,并增加测试 2023-02-11 22:03:53 +08:00
winlans
2d311a6b90 fix FileUtil.move 2023-02-10 18:15:45 +08:00
Golden Looly
2169e33e61
Merge pull request #2889 from winlans/v5-dev
fix DateUtil.parseUTC
2023-02-09 20:33:44 +08:00
Looly
771f0a4809 修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题 2023-02-09 19:43:49 +08:00
Looly
0e3cf48875
!919 修复“sax方式读取excel2003版本,会调用两次doAfterAllAnalysed方法”问题。
Merge pull request !919 from hellozrh/v5-dev
2023-02-09 11:37:01 +00:00
winlans
b710b83780 fix DateUtil.parseUTC 2023-02-09 19:28:53 +08:00
ZZemptypoint
1d1061eae6 fix bug Ipv4Util.list(String,String)方法生成的ip不全; 2023-02-04 21:44:59 +08:00
hellozrh
c660d79bf2 解决excel读到时空白行rowHanler重复执行的问题。 2023-01-18 09:20:05 +08:00
Looly
9183a9100e DesensitizedUtil增加对IPv4和IPv6支持 2023-01-17 17:07:18 +08:00
Golden Looly
d5718240cc
Merge pull request #2834 from CherryRum/lin_dev
fix(FileTypeUtil): 重构根据file magic number判断文件类型
2023-01-15 11:23:25 +08:00
Looly
a0cba2fd55 修复HexUtil.isHexNumber()对"-"的判断问题 2023-01-15 11:01:28 +08:00
yulin
d67e1c567d fix(FileTypeUtil): 重构根据file magic number判断文件类型
1.重构多个Magic Number
2.根据单独类型匹配,修复某些文件跳位置对比
3.获取到文件Mime类型和后缀
4.获取文件流从28byte提升到64byte
5.添加精确匹配如docx、xlsx、pptx、doc、xls、ppt,精确匹配为8192byte(大小10k文件左右)
6.添加file magic number枚举

Closes https://github.com/dromara/hutool/issues/2821
2022-12-31 21:31:46 +08:00
Looly
582f9e7a8c 修复CoordinateUtil坐标转换参数错误 2022-12-27 21:40:59 +08:00
Looly
ecde508346 修复ZIP bomb漏洞 2022-12-14 16:29:39 +08:00
Looly
0d495e34b3 修复getMultistageReverseProxyIp未去除空格问题 2022-12-05 23:42:00 +08:00
Looly
5aa8e9d9a6 add test 2022-11-28 10:22:40 +08:00
Looly
d6134f707d 修复BiMap中未重写computeIfAbsent和putIfAbsent导致双向查找出问题 2022-11-26 12:07:20 +08:00
Looly
4e06f02610 修复HexUtil.isHexNumber()判断逻辑超出long的精度问题 2022-11-24 13:33:12 +08:00
Looly
26771b2853 修复ArrayUtil.insert()不支持原始类型数组的问题 2022-11-24 13:29:52 +08:00
Looly
8db6cb041b add test 2022-11-17 02:17:39 +08:00
Looly
8ff1368f30 修复BeanUtil.copyProperties 包含EnumSet ,类型转换异常问题 2022-11-12 19:46:57 +08:00
Golden Looly
47198cc819
Merge pull request #2684 from lianyiwuming/v5-dev
修复bug https://github.com/dromara/hutool/issues/2683
2022-11-12 19:12:23 +08:00
yulin
3240406aa9 refactor(DateUtil、LocalDateTimeUtil): 添加区间退化为点,点与区间,点与点之间关系判断。
Closes https://gitee.com/dromara/hutool/issues/I60JMT
2022-11-10 22:29:02 +08:00
Looly
ece502c526 修复ChineseDate传入农历日期非闰月时获取公历错误问题 2022-11-10 09:58:26 +08:00
Looly
3b98f64924 优化BeanPath.set方法,避免多次重复调用get方法 2022-11-10 09:30:32 +08:00
Looly
dacf9c80bb fix test 2022-11-08 20:27:24 +08:00
Looly
a293fd5510 修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题 2022-11-08 20:20:50 +08:00
Golden Looly
4fdc443a4e
Merge pull request #2698 from top-zhang/v5-dev
fix: 修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题
2022-11-08 20:04:32 +08:00
Looly
32ef5b21b5 add test 2022-11-08 19:48:12 +08:00
Looly
d298eb5b73 ClassScanner 增加忽略加载错误类的扫描方法 2022-11-08 19:20:09 +08:00
Looly
39dee801f0
!855 cn.hutool.core.lang.ClassScanner 增加忽略加载错误类的扫描方法
Merge pull request !855 from oofrank/v5-dev
2022-11-08 11:15:22 +00:00