Commit Graph

2670 Commits

Author SHA1 Message Date
Looly
1e11bd5da5 修复IndexedComparator导致的数据错乱问题(ExcelWriter使用部分别名导致字段丢失) 2022-12-27 19:59:35 +08:00
Looly
b78657f67f 修复UrlBuilder中参数中包括"://"判断错误问题 2022-12-27 19:41:52 +08:00
TomXin
0c31def7b8 修复Gitee issue #I66CIR 2022-12-21 17:16:13 +08:00
Looly
ecde508346 修复ZIP bomb漏洞 2022-12-14 16:29:39 +08:00
Looly
3346ef025b fix doc 2022-12-11 16:25:12 +08:00
Looly
0d495e34b3 修复getMultistageReverseProxyIp未去除空格问题 2022-12-05 23:42:00 +08:00
Looly
b0bfbd8ec3 修改PhoneUtil容易歧义的注释 2022-11-29 19:37:19 +08:00
Looly
c3470ab288 Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev 2022-11-28 10:26:38 +08:00
Golden Looly
5f10d2d025
Merge pull request #2755 from LuisStruggle/v5-dev
HtmlUtil中escape方法,增加不断开空格(nbsp)转译,防止xss攻击
2022-11-28 10:23:11 +08:00
Looly
5aa8e9d9a6 add test 2022-11-28 10:22:40 +08:00
Looly
d29b87c36f SyncFinisher线程同步结束器添加立即结束方法 2022-11-26 12:13:39 +08:00
Looly
8767b1edc1
!879 线程同步结束器添加立即结束方法
Merge pull request !879 from 不忘初心/v5-dev
2022-11-26 04:11:16 +00:00
Looly
d6134f707d 修复BiMap中未重写computeIfAbsent和putIfAbsent导致双向查找出问题 2022-11-26 12:07:20 +08:00
bwcx_jzy
7c8cc27ad9
线程同步结束器添加立即结束方法 2022-11-25 13:17:58 +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
LuisStruggle
31bcd02732 html防止注入转译,增加不断开空格(nbsp)转译 2022-11-24 10:53:32 +08:00
Looly
ff0e3ea52b CharUtil.isBlankChar增加\u180e 2022-11-17 12:05:05 +08:00
Looly
052b0dc8d3 prepare 5.8.11 2022-11-17 09:19:20 +08:00
Looly
47479f45a7 🐶release 5.8.10 2022-11-17 09:01:29 +08:00
Looly
8db6cb041b add test 2022-11-17 02:17:39 +08:00
Looly
a4e7ee5c91
!867 修复字节数组转float 返回类型却是double的bug
Merge pull request !867 from sony_7/v5-master
2022-11-16 17:24:38 +00:00
zhangqq
5bd8a298ba 修复字节数组转float 返回的值却是double类型的bug 2022-11-14 19:22:54 +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
fa115dffbc 回滚 2022-11-10 12:11:56 +08:00
Golden Looly
7a10881d30
Merge pull request #2723 from kiritoowo/v5-dev
1.[bug修复] key为弱引用 value为强引用 会导致key无法被回收 弱引用失效
2022-11-10 11:16:53 +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
ljm
7152b5b21f 1.修复BUG key为弱引用 value为强引用 会导致key无法被回收 弱引用失效 2022-11-09 18:45:05 +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
Looly
3776f5a1ef 修复DefaultTrustManager空指针问题 2022-11-08 19:10:49 +08:00
Looly
ecc4cd64eb 去除ClassloaderUtil的Cache 2022-11-08 19:09:46 +08:00
Looly
9234846eb7 修复StrUtil.subWithLength负数问题 2022-11-03 23:17:06 +08:00
Looly
a48e79b03f 修复TreeBuilder中使用HashMap导致默认乱序问题 2022-11-03 22:20:57 +08:00
Looly
f2249f449e 修复拼写错误 2022-11-02 23:57:52 +08:00
topgun
fc186ddd54 fix: 修复 BeanUtil#copyProperties 源对象与目标对象都是 Map 时设置忽略属性无效问题
closes #2697
2022-10-31 22:24:34 +08:00
frank.lee
eb6ad0fe68 Merge branch 'v5-master' of https://gitee.com/oofrank/hutool into v5-dev 2022-10-28 12:35:32 +08:00
frank.lee
f419507049 [新特性]
cn.hutool.core.lang.ClassScanner
scan(boolean,boolean)
增加忽略加载错误类的扫描方法,同时收集了错误的类名,使用简单逻辑编写了测试方法进行测试.

当前 JavaSourceCompilerTest 的几个类恰好不能正常加载,被正确忽略。
2022-10-28 12:31:48 +08:00
Looly
7b23328d3f 修复IoUtil.copyByNIO方法写出时没有flush的问题 2022-10-27 18:51:00 +08:00
hongdan.qin
58f90d6e06 修复bug https://github.com/dromara/hutool/issues/2683 2022-10-26 11:21:23 +08:00
Looly
2bafc6c8a8 FileUtil.copy,当来源为文件时,返回文件而非目录 2022-10-24 22:28:35 +08:00
Looly
2142d6522a 由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此BCD标记为弃用 2022-10-24 19:45:11 +08:00
Looly
4c0d594e99 修复Partition计算size除数为0报错问题 2022-10-24 12:09:31 +08:00