Commit Graph

2647 Commits

Author SHA1 Message Date
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
Looly
59e1c64467 prepare 5.8.10 2022-10-22 23:17:52 +08:00
Looly
1de812e255 🐽release 5.8.9 2022-10-22 22:53:24 +08:00
Looly
ab35ba10a2 fix code 2022-10-22 22:16:26 +08:00
Looly
01fc836e56 CollectorUtil添加支持对值集合进行映射的分组方法 2022-10-22 22:15:09 +08:00
Looly
92003ecbfb 修复TableMap没有default方法导致的问题 2022-10-22 22:11:03 +08:00
Looly
7fe72ce51b add ppt type 2022-10-18 09:20:34 +08:00
Looly
f6fe00aa69 del test 2022-10-16 21:24:50 +08:00
Golden Looly
a85f5aa8f9
Merge pull request #2656 from wangfanlan/v5-dev
test
2022-10-16 21:18:08 +08:00
Looly
f31eb8512e
!837 ReflectUtil.invokeRaw方法 对检查用户传入参数时,对于类型不同的字段,尝试转换,转换失败后的操作
Merge pull request !837 from 高邮湖徐先生/v5-dev
2022-10-16 12:50:27 +00:00
thewindkee
eccc58acc4 FuncKeyMap的子类,传入可被序列化的keyFunc 2022-10-15 01:02:41 +08:00
thewindkee
d61fed995f FuncKeyMap的子类,传入可被序列化的keyFunc 2022-10-15 00:49:42 +08:00
thewindkee
432f3a0956 FuncKeyMap的子类,传入可被序列化的keyFunc 2022-10-15 00:36:08 +08:00
xudeping
5189fa52dd fix:ReflectUtil.invokeRaw 对于类型不同的字段,尝试转换,转换失败则使用原对象类型 2022-10-14 17:33:00 +08:00
wang fl
924f6c226d
Merge branch 'dromara:v5-dev' into v5-dev 2022-10-14 09:58:18 +08:00
王昌盛
6856a854f0 test 2022-10-13 18:17:03 +08:00
Looly
9abe1073af
!836 cn.hutool.core.util.PrimitiveArrayUtil 注释错误
Merge pull request !836 from 高邮湖徐先生/v5-dev
2022-10-13 09:42:41 +00:00
xudeping
1ae03284e8 分割注释修改
添加生序降序分割线注释
2022-10-13 15:51:20 +08:00
bwcx_jzy
efe89848b0
fix UrlBuilder test 2022-10-13 15:44:27 +08:00
bwcx_jzy
7bbd33b0b0
fix UrlBuilder getPortWithDefault 2022-10-13 15:41:34 +08:00
bwcx_jzy
311829660f
add UrlBuilder getPortWithDefault 2022-10-13 15:23:33 +08:00
Looly
dca6cbe4b1 修复MapToMap中ignoreNullValue无效问题 2022-10-12 14:39:02 +08:00
bwcx_jzy
ca40d7448e
fix MapToMap ignoreNullValue 2022-10-12 12:46:12 +08:00
bwcx_jzy
1be615c822
fix MapToMap ignoreNullValue 2022-10-12 12:44:07 +08:00