Commit Graph

3318 Commits

Author SHA1 Message Date
Looly
f4d67ede39 修复\n#出现在双引号中解析错误问题 2024-07-01 15:59:49 +08:00
Looly
db5806f0e8 ThreadUtil.newExecutor等方法变更方法签名,返回值变更为ThreadPoolExecutor 2024-06-30 17:59:16 +08:00
Looly
a8e959c37c
!1230 修改 ThreadUtil.newExecutor 创建线程池返回类
Merge pull request !1230 from 温良恭/v5-dev
2024-06-30 09:55:32 +00:00
Looly
49dba65152 add test 2024-06-30 17:51:24 +08:00
Looly
d14c8517cd Week.of支持中文名称 2024-06-30 17:46:22 +08:00
wenlianggong
1d48ead94c 修改 ThreadUtil.newExecutor 创建线程池返回类 2024-06-27 20:30:01 +08:00
Looly
313cadbdfa 修复Tailer指定初始读取行数的计算错误问题 2024-06-21 20:32:29 +08:00
Looly
1ce17d8c5c fix comment 2024-06-18 16:21:43 +08:00
Looly
8bb736b375 添加 Windows 资源管理器风格字符串比较器 2024-06-18 16:01:40 +08:00
Golden Looly
bd164db9b4
Merge pull request #3620 from YMNNs/v5-dev
[新特性] 添加 Windows 资源管理器风格字符串比较器
2024-06-18 15:55:21 +08:00
Looly
51c1588081 BetweenFormatter支持自定义设置单位 2024-06-17 15:45:38 +08:00
Looly
d556f5b62f
!1228 perf(core): 时间格式化工具支持自定义设置单位
Merge pull request !1228 from 蒋小小/v5-dev
2024-06-17 07:38:00 +00:00
Looly
69b3d4565c 修复PathMover.moveContent问题 2024-06-17 10:05:29 +08:00
Mengbo Yang
4863418333 feat(core): 添加 Windows 资源管理器风格字符串比较器 2024-06-16 00:58:18 +08:00
bwcx_jzy
24a4c479c4 🔨 perf(core): 时间格式化工具支持自定义设置单位 2024-06-14 15:55:00 +08:00
Looly
c8a1d67726 修复DateUtil.offset空指针问题 2024-06-14 01:34:22 +08:00
Looly
682cf265c4 CsvWriter.writeBeans增加重载,可选是否写出表头 2024-06-14 01:30:09 +08:00
Looly
ab941a6e27 优化DateUtil.format(Date date, String format)接口效率 2024-06-14 01:24:35 +08:00
hellozrh
7232706ca6 1.修复忘了timeZone的问题。2.完善单元测试。 2024-06-13 15:16:18 +08:00
hellozrh
29a6cba58d DateUtil.format(Date date, String format)接口效率优化。 2024-06-13 14:44:53 +08:00
Looly
afe34a783d 修复CaseInsensitiveLinkedMap顺序错误问题 2024-06-12 15:30:06 +08:00
Looly
3aa9bdfcfa 修复VersionComparator传入空字符串报错问题 2024-06-12 00:31:25 +08:00
HsinDumas
527dc45a8c
Update VersionComparator.java
因为Version.of不支持传入空串并且会报错,所以需要处理版本号为空串的场景
2024-06-12 00:12:18 +08:00
Looly
d93f1d2cb4 add test 2024-06-11 17:51:21 +08:00
Looly
7a6ab19649 修复BeanUtil.isBean判断Dict错误问题 2024-06-07 15:22:15 +08:00
Looly
99cf24267f add test 2024-06-06 21:42:46 +08:00
Looly
e117489d7a add test 2024-06-04 08:56:33 +08:00
Looly
9db9648539 CollUtil.subtract增加空判定 2024-06-04 08:47:39 +08:00
Looly
ef5447add7 修复AnnotationUtil可能的空指针错误 2024-06-02 10:40:28 +08:00
Looly
43c417e76c fix comment 2024-06-02 10:18:31 +08:00
Looly
3359e740ac ListUtil增加move方法 2024-06-02 10:05:41 +08:00
Looly
9038f7dd6d DateUtil增加offsetYear方法 2024-05-29 15:06:06 +08:00
Looly
a3ebbf967d prepare 5.8.29 2024-05-29 12:15:50 +08:00
Looly
38592915eb 🍼release 5.8.28 2024-05-29 11:48:00 +08:00
Looly
be39341b81 add test 2024-05-29 11:39:58 +08:00
Looly
503df65777 NumberUtil.pow支持负数 2024-05-29 10:37:51 +08:00
Looly
d58b2fcfea add test 2024-05-28 17:35:22 +08:00
Looly
2f1583a931 LocalDateTimeUtil增加beginOfDay和endOfDay重载 2024-05-23 16:58:08 +08:00
Looly
cba4a832eb
!1222 CsvWriter 重载 writeBeans 方法
Merge pull request !1222 from nickname/v5-master
2024-05-23 07:09:14 +00:00
fzg
e8a8c81489 CsvWriter 重载一个 writeBeans 方法,该方法可以指定导出 Bean 中的部分属性 2024-05-20 20:58:59 +08:00
Looly
9d4e69d4ed 修复FileUtil#getTotalLines在JDK9+结果错误问题 2024-05-20 16:40:21 +08:00
Looly
228785b1b2 getFileNameFromDisposition更加规范,从多个头的值中获取,且filename*优先级更高 2024-05-20 09:27:10 +08:00
Looly
9e1beae3eb 修复BooleanUtil.andOfWrap针对null错误问题 2024-05-17 17:02:53 +08:00
Looly
b6b2107794 Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2024-05-17 09:33:03 +08:00
Looly
a99adf6091 ListUtil.setOrPadding增加重载,可选限制index大小 2024-05-17 09:32:45 +08:00
Looly
db808904c2 add test 2024-05-15 22:35:49 +08:00
konbai
37375d7bb8 优化 CharSequenceUtil工具类 startWithAny()、startWithAnyIgnoreCase() 参数命名错误问题。 2024-05-13 21:56:19 +08:00
Looly
52f287e2dd fix comment 2024-05-13 16:31:35 +08:00
Looly
355f6d0d86 增加IdConstants,提高Snowflake初始化性能 2024-05-13 16:03:11 +08:00
Looly
422f36b23e 增加IdConstants,提高Snowflake初始化性能 2024-05-13 15:52:54 +08:00
Looly
8e62f5ce44 修复NumberWordFormatter.format小数问题 2024-05-11 11:57:25 +08:00
Looly
5556f74688 fix comment 2024-05-10 18:43:15 +08:00
Looly
dd4390508e HttpRequest#get不再尝试File路径 2024-05-10 17:35:46 +08:00
Looly
deb2d98a2e HttpRequest#get不再尝试File路径 2024-05-10 17:27:19 +08:00
Looly
8a88a9daa1 修复EnumUtil空指针问题 2024-05-10 11:28:36 +08:00
Looly
fab02fc0b6 修复EnumUtil空指针问题 2024-05-10 11:25:16 +08:00
Looly
1dab5a70fc PropertyComparator增加compareSelf构造重载 2024-05-09 10:13:19 +08:00
Looly
f8dbf66bc9 修复FuncComparator.thenComparing不生效问题 2024-05-06 16:24:11 +08:00
Looly
cce1b9aaa1 修复ZipReader.checkZipBomb遇到空目录报错问题 2024-04-28 22:57:39 +08:00
Looly
c0807bfa49 修复FileUtil.copyFile没有创建父目录导致的问题 2024-04-24 13:22:46 +08:00
Looly
c02460423e NumberChineseFormatter提供阿拉伯转中文支持多位小数的方法 2024-04-21 08:12:07 +08:00
Golden Looly
8279681651
Merge pull request #3552 from JTongChen/v5-dev
feat: NumberChineseFormatter提供阿拉伯转中文支持多位小数的方法
2024-04-21 08:06:24 +08:00
Looly
05c554605b add test 2024-04-21 07:57:44 +08:00
Looly
2b6326ca94 修复TemporalAccessorConverter自定义格式转换问题 2024-04-20 16:52:31 +08:00
JTongChen
9de5aef0e1 feat: NumberChineseFormatter提供阿拉伯转中文支持多位小数的方法 2024-04-18 21:10:54 +08:00
Looly
0b9b578f61 修复RandomUtil.randomStringWithoutStr方法问题 2024-04-17 15:29:26 +08:00
Looly
c108cbf001 解决CalendarUtil.isSameDay时区不同导致结果错误问题 2024-04-16 17:28:56 +08:00
gaorui
0658f28d68 CalendarUtil在比较同一天、同一月、同一周的时候,如果两个时区不一致会导致结果不符合预期 2024-04-16 09:59:36 +08:00
Looly
68530d9e5b 修复FileMagicNumber.getMagicNumber空指针问题 2024-04-11 21:01:52 +08:00
ahwei
404f0bd394
更新 StrUtil 的 toStringOrEmpty 方法 @author 信息
更新 StrUtil 的 toStringOrEmpty 方法 @author 信息 

Signed-off-by: ahwei <ahwei163@qq.com>
2024-04-08 07:23:51 +00:00
xujunwei
8f31843817 清除 cn.hutool.core.util.StrUtil.toStringOrEmpty 方法的 @author 信息 2024-04-07 18:28:03 +08:00
Looly
28222dd349 StrUtil增加toStringOrEmpty方法 2024-04-03 12:45:08 +08:00
Looly
562d41386f
!1198 [Feat] cn.hutool.core.util.StrUtil增加新方法 toStringOrEmptyStr, 调用对象的toString方法, null会返回空字符串 ""
Merge pull request !1198 from ahwei/v5-dev
2024-04-03 04:40:18 +00:00
Looly
d088fd1f7d add test 2024-04-03 12:37:28 +08:00
xujunwei
6996723c58 [Feat] cn.hutool.core.util.StrUtil增加新方法 toStringOrEmptyStr, 调用对象的toString方法, null会返回空字符串 "" 2024-04-02 16:41:12 +08:00
Looly
8723aad75d fix comment 2024-03-29 15:54:48 +08:00
Looly
dac3684de5 prepare 5.8.28 2024-03-29 12:30:31 +08:00
Looly
3e716fcf0a 🐶release 5.8.27 2024-03-29 12:10:14 +08:00
Golden Looly
d773a59da6
Merge pull request #3527 from yearliny/v5-dev
IdcardUtil 新增对新版外国人永久居留身份证(18位)的支持
2024-03-29 11:25:24 +08:00
Looly
339b8869ad 新增RFC2822日期格式解析支持 2024-03-28 23:19:17 +08:00
Looly
94b28801a3 supoort 2024-03-28 23:13:36 +08:00
Looly
eebec03334 修复图片操作未调用flush导致资源未释放问题 2024-03-28 22:26:32 +08:00
yearliny
483f7df1dd
IdcardUtil 新增对新版外国人永久居留身份证(18位)的支持
政策文件:https://www.nia.gov.cn/20231013/2.pdf
2024-03-28 11:50:30 +08:00
Looly
db2b6929ba Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev 2024-03-26 19:59:47 +08:00
pine
4ebf69c81b 修改 CharSequenceUtil.ordinalIndexOf 方法的注释 2024-03-26 19:49:59 +08:00
Looly
2f7938492e 优化ThreadUtil.safeSleep,使用System.nanoTime() 2024-03-26 18:13:46 +08:00
Looly
8e26dd001b fix name 2024-03-23 09:41:43 +08:00
Looly
6ec135486c fix code 2024-03-20 16:41:35 +08:00
Looly
a1f591c099 修复ClassUtil.getTypeArgument() 获取泛型存在null问题 2024-03-18 11:53:33 +08:00
Looly
bf890d17f1 修复ClassUtil.getTypeArgument() 获取泛型存在null问题 2024-03-18 09:53:15 +08:00
Looly
03a92830a6 修复Graphics2D的资源没释放问题 2024-03-15 16:37:41 +08:00
风澈
622fc69f0c
修改ipv6脱敏注释
Signed-off-by: 风澈 <530534635@qq.com>
2024-03-13 02:46:01 +00:00
Looly
d18babc83f add test 2024-03-12 17:59:33 +08:00
Looly
126674a453 修复DateUtil.betweenYear闰年2月问题 2024-03-12 17:32:55 +08:00
Looly
65ec4cf3aa FileUtil和PathUtil增加Resource重载 2024-03-11 23:39:36 +08:00
Looly
21bf415eab FileUtil和PathUtil增加Resource重载 2024-03-11 23:10:57 +08:00
Looly
c5f37b062e StrUtil.replace歧义,修改为replaceByCodePoint 2024-03-07 16:12:33 +08:00
Looly
923cf3d265 修复JSONUtil序列化和反序列化预期的结果不一致问题 2024-03-06 17:20:09 +08:00
Looly
fa67339509 Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev 2024-03-06 17:10:30 +08:00
misakacoder
745826012a fix 3504 2024-03-05 13:35:10 +08:00
Looly
17a9701349 修复PathMover对目标已存在且只读文件报错错误问题 2024-03-05 11:41:53 +08:00
Looly
9ef714ad53 add test 2024-03-01 09:27:49 +08:00
Looly
e6dc02b421 add comment 2024-02-29 11:21:13 +08:00
Looly
3f7cb8ab5f add test 2024-02-29 11:20:21 +08:00
Looly
832235f5e8 HexUtil#format方法增加prefix参数 2024-02-26 15:57:05 +08:00
Looly
9e6c403d2f add test 2024-02-20 11:50:58 +08:00
Looly
067d7dc495 FreemarkerEngine修改默认版本参数 2024-02-19 18:45:38 +08:00
Looly
66d50a405a prepare 5.8.27 2024-02-10 20:30:37 +08:00
Looly
aaac1f510d change version 2024-02-10 20:24:10 +08:00
Looly
5cf57f6a64 prepare 5.8.27 2024-02-10 20:21:38 +08:00
Looly
96b486bb5a 🎆release 5.8.26 2024-02-10 20:06:16 +08:00
Looly
058c801442 修复VersionComparator违反传递问题 2024-02-10 12:37:19 +08:00
Looly
44580782f1 MapUtil增加partition方法 2024-02-07 11:24:44 +08:00
晨晨
f608d7de24
MapUtil添加按固定大小划分Map的方法
Signed-off-by: 晨晨 <2050365570a@gmail.com>
2024-02-04 09:11:13 +00:00
Looly
d9e72ddfe0 fix code 2024-01-26 18:16:31 +08:00
Looly
cba4231e4c 修复CollUtil.containsAll在coll2长度大于coll1时逻辑歧义问题 2024-01-26 16:03:46 +08:00
Looly
4df7a25cc4 add test 2024-01-23 16:29:42 +08:00
Looly
cb093e067d 修复BeanToMapCopier获取类型数组越界问题 2024-01-22 09:20:14 +08:00
Looly
ebc7c63bbe prepare 5.8.26 2024-01-11 14:06:18 +08:00
Looly
3a1c7538f3 🐶Release 5.8.25 2024-01-11 12:46:25 +08:00
Looly
2a66698ef3 修复NumberUtil.toBigDecimal方法报StackOverflowError(CVE-2023-51080) 2024-01-11 12:08:39 +08:00
Looly
9ff7608d97 修复NumberUtil.toBigDecimal方法报StackOverflowError(CVE-2023-51080) 2024-01-11 10:42:57 +08:00
Looly
4d6684e9ab 修复NumberUtil.toBigDecimal方法报StackOverflowError(CVE-2023-51080) 2024-01-11 10:42:20 +08:00
Looly
7e81e26a6f 修复金额转换为英文时缺少 trillion 单位问题 2024-01-02 13:34:59 +08:00
Doke
82782d40d0
fix: 为NumberWordFormatter.java新增Trillion单位增加单测 2023-12-30 15:51:20 +08:00
Doke
7c5d0ec00e
fix: 修复金额转换为英文时缺少 trillion 单位
金额转换为英文时缺少 trillion 单位导致金额达到万亿时数组溢出错误
2023-12-30 15:41:24 +08:00
Looly
f651a18c1d CopyOptions中增加setAutoTransCamelCase方法 2023-12-30 01:13:42 +08:00
Golden Looly
a68d57062f
Merge pull request #3450 from holmebin/test-branch
Test branch
2023-12-29 00:25:31 +08:00
Looly
c68b9df0df WatchServer新增通过Path获取WatchKey方法 2023-12-29 00:19:48 +08:00
holmebin
c7e2720cc5 fix RandomUtil.randomInt,RandomUtil.randomLong range problem #3449 2023-12-28 23:07:44 +08:00
bwcx_jzy
d861be5aac
add WatchMonitorTest 2023-12-28 22:34:13 +08:00
bwcx_jzy
95f37beb66
新增 文件监听 WatchServer 新增通过 Path 获取 WatchKey 方法 2023-12-28 22:29:52 +08:00
Looly
ab1b2c5e48 修复StrJoin当append内容后调用length()会出现空指针问题 2023-12-26 00:41:06 +08:00
Looly
99303ef7e0 prepare 5.8.25 2023-12-24 00:15:01 +08:00
Looly
3ab447d45a 🌨️Release 5.8.24 2023-12-24 00:01:57 +08:00
Looly
e5888f6bc6 remove invalid import 2023-12-20 23:14:48 +08:00
Looly
cd79e6e5f8 修复graalvm原生打包使用http工具被转为file协议问题 2023-12-20 22:53:38 +08:00
Looly
168be856c0 Opt.ofEmptyAble支持更多类型 2023-12-15 22:00:10 +08:00
Looly
da1d89ff29 修复JavaSourceCompiler.addSource目录处理错误问题 2023-12-13 19:31:56 +08:00
Looly
c45de2b7f4 DateUtil.parse支持毫秒时间戳 2023-12-12 13:34:54 +08:00
Looly
32f2d0bd55 修复StrSplitter.splitByRegex使用空参数导致的OOM问题 2023-12-12 04:29:20 +08:00
Looly
4ab74605be FileTypeUtil增加null判断 2023-12-11 09:45:06 +08:00
Looly
9c351cfb84 fix comment 2023-12-08 23:12:17 +08:00
Looly
f85e69ab65 修复ImgUtil.convert png转jpg在jdk9+中失败问题 2023-12-05 21:48:15 +08:00
Looly
c61946650e fix comment 2023-12-04 23:27:25 +08:00
Looly
86aba711f1 fix test 2023-12-04 19:39:40 +08:00
Looly
9a69843f5e fix test 2023-12-04 19:20:33 +08:00
Looly
d09f741318 add test 2023-12-04 19:05:11 +08:00
Looly
26c0ea6a89 fix comment 2023-12-04 18:39:07 +08:00
Looly
d406130183 fix comment 2023-12-04 18:26:12 +08:00
Looly
3e098270ea add test 2023-12-03 22:34:17 +08:00
Looly
870758c3d0 fix comment 2023-12-01 18:28:35 +08:00
Looly
824460e5c5 修复CharSequenceUtil注释和引用,避免循环引用 2023-11-29 10:41:00 +08:00
Looly
7c1fafce99 修复LocalDateTime#parseDate未判断空问题问题 2023-11-14 08:50:43 +08:00
Looly
5be66c636b prepare 5.8.24 2023-11-12 19:17:19 +08:00
Looly
56fae16d1d 🚦release 5.8.23 2023-11-12 18:55:10 +08:00
Looly
a21f202ec6
!1103 fix 修复合成注解会无限递归获取映射属性的问题 Gitee#I8CLBJ
Merge pull request !1103 from Createsequence/fix-I8CLBJ
2023-11-12 10:06:58 +00:00
Looly
fa0d757c2d fix format 2023-11-12 17:29:43 +08:00
huangchengxing
10e2a248c7 fix 修复合成注解会无限递归获取映射属性的问题 Gitee#I8CLBJ 2023-11-12 17:07:35 +08:00
VampireAchao
6a97f12eb0 [Fix] 修复 github issue 3380 CollectorUtil.reduceListMap与collectors.groupby一起使用时出现与预期不符的结果 2023-11-12 16:33:31 +08:00
Looly
cbcbd1b7ff
!1097 修复合成注解在并发环境无法保证正确缓存属性值的问题(#I8CLBJ)
Merge pull request !1097 from Createsequence/fix/I8CLBJ
2023-11-09 01:30:55 +00:00
yeshwanthsripathy
cb6811a7b8 Merged with v5-dev 2023-11-08 12:47:45 -06:00
Golden Looly
40f16674b6
Merge pull request #3368 from yesh385/fix-flaky
Fixed flaky tests in hutool-core
2023-11-08 15:43:56 +08:00
yeshwanthsripathy
25b81836e6 Removing unused import 2023-11-08 01:22:02 -06:00
yeshwanthsripathy
8b3f6ba931 Reverted source code changes 2023-11-08 01:18:32 -06:00
huangchengxing
5e264d0be8 fix 修复合成注解在并发环境无法保证正确缓存属性值的问题 Gitee#I8CLBJ 2023-11-02 18:28:15 +08:00
yeshwanthsripathy
67484e1a68 Fixed 2 flaky tests 2023-10-30 12:31:46 -05:00
Looly
0101ab5668 修复ClassUtil#scanJar未正确关闭文件问题 2023-10-30 17:26:35 +08:00
Looly
b2b6a233dd fix comment 2023-10-28 21:18:26 +08:00
Looly
d119d2dc5e PathUtil增加loopFiles重载,可选是否追踪软链 2023-10-27 22:43:11 +08:00
Looly
fcd3d9f7d0 ImgUtil的sliceByRowsAndCols背景无法透明问题 2023-10-27 21:48:02 +08:00
Looly
bea36c2b5f Snowflake增加方法:根据传入时间戳,计算ID起终点 2023-10-25 11:24:43 +08:00
晚安,地球
fe37c1aa84 !1096 Snowflake增加方法:根据传入时间戳,计算ID起终点 (gitee/issues/I60M14)
* Snowflake add method:根据传入时间戳-计算ID起终点 (gitee/issues/I60M14)
2023-10-25 03:21:40 +00:00
Looly
aedda45c5f add test 2023-10-23 20:09:45 +08:00
Looly
85feecc9e9 修复DataSize.parse(size)不支持空格问题 2023-10-18 14:42:22 +08:00
Looly
733c043c0a add test 2023-10-18 11:39:58 +08:00
Looly
05d13de588 fix 2023-10-18 08:59:23 +08:00
Looly
e46474fc9a 修复特定情况下BiMap覆盖Value后,仍能通过旧Value查询到Key问题 2023-10-18 08:57:30 +08:00
libin
74452eb775 TypeUtil.getClass方法强转报错问题 2023-10-12 18:36:30 +08:00
Looly
b696c5c41f ReflectUtil.getFieldsValue增加Filter重载 2023-10-07 08:49:52 +08:00
Looly
bb9736aba6 ReflectUtil.getFieldsValue增加Filter重载 2023-10-07 08:35:57 +08:00
yeshwanthsripathy
21f6554a05 Fixed flaky tests 2023-10-03 18:52:31 -05:00
Looly
f21dfc927d 新增ProxySocketFactory 2023-09-21 17:19:35 +08:00
Looly
6d2d57e34b 修复VersionComparator在极端数据排序时候违反了自反性问题 2023-09-21 11:34:05 +08:00
Looly
58be7dcd97 add test 2023-09-20 20:52:49 +08:00
summertime-wu
34249995bf 优化 GifDecoder 类中的一处 equals 判断
使用 contentEquals(app) 直接进行 char 数组比对,避免 equals(app.toString()) 中将 StringBuilder 转为 String,会多一道 char 数组拷贝
2023-09-19 15:19:15 +08:00
handy
b119d65006 移除未使用到的import 2023-09-14 16:56:06 +08:00
Looly
bf62494be0 prepare 5.8.23 2023-09-13 21:40:23 +08:00
Looly
20f0c720c4 ♥️release 5.8.22 2023-09-13 21:00:51 +08:00
Looly
1b52428a17 update version 2023-09-13 20:57:56 +08:00
Looly
111898c640 修复LocalDateTimeUtil.of 某些特殊TemporalAccessor无法返回正确结果的问题 2023-09-13 20:33:52 +08:00
Looly
8ee13fb5bf
!1074 base64 NPE verification
Merge pull request !1074 from 蒋小小/v5-dev
2023-09-12 10:38:17 +00:00
Looly
6ad0a55362 修复CopyOptions.setIgnoreCase和setIgnoreProperties冲突问题 2023-09-12 18:28:45 +08:00
Looly
8c4b1262ef fix code 2023-09-12 18:25:57 +08:00
Looly
683a7b74bd
!1073 fix(BeanUtil),同时设置忽略大小写和忽略字段冲突问题
Merge pull request !1073 from 小怪兽说疼疼哒/fix-BeanUtil
2023-09-12 10:00:26 +00:00
bwcx_jzy
e341bd5ec2
fix base64 NPE verification 2023-09-12 17:23:54 +08:00
groundhog
0d4bb1beec fix(BeanUtil): 忽略大小写与忽略字段同时使用冲突
- https://gitee.com/dromara/hutool/issues/I80FP4
- 先以原始输入判断是否忽略,后进行忽略大小写的转换
2023-09-11 21:06:57 +08:00
groundhog
7cc7d045b5 fix(NumberUtil): parseInt逻辑先后修改
- https://gitee.com/dromara/hutool/issues/I800C9
- 十六进制中E被误判为科学技术法,修改判断先后处理
2023-09-11 00:09:57 +08:00
Looly
ce56d9331a 修复Tailer stop NPE问题\ 2023-09-08 19:13:37 +08:00
bwcx_jzy
bd746c68eb
Merge remote-tracking branch 'origin/v5-dev' into v5-dev 2023-09-07 09:14:43 +08:00
bwcx_jzy
83c82f8e5b
fix Tailer stop NPE 2023-09-07 09:14:36 +08:00
Looly
5c4486b9f5 修复JSONUtil.parse()溢出问题 2023-09-05 14:32:28 +08:00
Looly
afbe2ce99c 修复DateUtil.age年龄计算问题 2023-09-01 09:52:14 +08:00
Looly
2808fa135d 修复修复Convert不能转换Optional和Opt问题 2023-08-31 10:52:39 +08:00
Looly
268541c5a5 修复fillColumns空指针问题 2023-08-30 22:18:56 +08:00
Looly
9ba8f9ca5d 修复SONArray的add()方法抛出OutOfMemory异常问题 2023-08-30 22:10:03 +08:00
groundhog
1792c495d1 fix(CharSequenceUtil): 新增判空
- 前置判空,方式s.toString导致的NPE
2023-08-29 15:28:26 +08:00
handy
199d3a6400 修改注释错误并添加单测 2023-08-24 09:59:58 +08:00
Mark Ashbur
cfc9ef80ed
Update CombinationAnnotationElement.java
false == declaredAnnotationMap.containsKey(annotationType)用的变量declaredAnnotationMap不对,此处应该用annotationMap。
2023-08-21 19:06:21 +08:00
Looly
713832e5fe 修复Ipv4Util.getEndIpLong 取反符号导致数据越界 2023-08-21 11:53:29 +08:00
Looly
80bdac99d9 TreeUtil增加getParentsId方法 2023-08-16 10:31:50 +08:00
Looly
b48e793646 add tesrt 2023-08-15 12:10:22 +08:00
Looly
2f23075ac2 修复FieldsComparator比较结果不正确问题 2023-08-15 09:47:01 +08:00
Looly
a7585eba9e fix test 2023-08-11 10:02:19 +08:00
Looly
d082e6f27b fix since 2023-08-10 22:23:21 +08:00
Looly
e58a6055d6 修复FileUtil无法正确识别Smb网络存储的路径问题 2023-08-10 22:03:16 +08:00
Looly
6d100e4e0c gts 2023-08-08 20:02:43 +08:00
Looly
4ffb48412b
!1051 [bug修复] 修复因使用反射读取JSON自定义类型导致性能下降为原来1/3的问题 by SHA-1: 5b2d2050d2
Merge pull request !1051 from 周鹏/v5-master
2023-08-08 11:57:45 +00:00
Looly
170c083907 修改异常包装策略:运行时异常不包装,只包装非运行时异常 2023-08-08 19:03:49 +08:00
zhoupeng
7a30dff976 修复因使用反射读取JSON自定义类型导致性能下降为原来1/3的问题
by SHA-1: 5b2d2050d2
2023-08-07 18:54:01 +08:00
Looly
e66681936f add test 2023-08-07 18:26:17 +08:00
Looly
be3312d2e0 修复DateUtil.parse 给定一个时间解析错误问题 2023-08-07 11:13:29 +08:00
Looly
0621543ae3 修复PathUtil.moveContent当target不存在时会报错问题 2023-08-02 17:43:32 +08:00
Looly
c45b3fccda NumberUtil.toBigDecimal转换科学计数法问题 2023-08-02 17:07:31 +08:00
Looly
a0eeefefe9 DesensitizedUtil增加清空策略 2023-08-02 11:26:49 +08:00
Looly
cbcd31910b nullToZero增加重载 2023-08-02 11:12:33 +08:00
Looly
8415a24700 prepare 5.8.22 2023-07-29 14:18:50 +08:00
Looly
d179823a2a UrlResource增加size方法 2023-07-29 13:05:39 +08:00
xiejiayu
5df769de0e 版本比较器支持 compare("1.0.3", "1.0.2a") > 0 2023-07-21 14:15:46 +08:00
Looly
4624b16751 修复JSONBeanParser在遇到List时没有被正确递归问题 2023-07-20 23:39:24 +08:00
Looly
2c9d579c59 修复MVEL加载错误问题 2023-07-20 08:45:09 +08:00
Looly
a74a8c7877 修复MVEL加载错误问题 2023-07-20 08:41:23 +08:00
Looly
47cba89085 ZipReader增加setMaxSizeDiff方法,自定义或关闭ZipBomb 2023-07-20 08:19:06 +08:00
Looly
d606236923 修复脱敏银行卡号长度bug 2023-07-18 00:21:24 +08:00
Golden Looly
1040d30500
Merge pull request #3210 from sunny0130/v5-dev
fix:修复脱敏银行卡号bug
2023-07-18 00:18:41 +08:00
linyang.wly
2ec1c9dfa7 fix:修复脱敏银行卡号bug 2023-07-17 01:51:59 +08:00
Looly
3cbbbcfe1b 修复BeanUtil.isCommonFieldsEqual判空导致的问题 2023-07-05 09:45:48 +08:00
dazer007
3c4a7eb3f7 fix isValidCard15 and isValidCard18 入参是null, 导致空指针NPE的问题 2023-07-02 21:40:46 +08:00
Looly
c7c64e167e 修复TypeUtil.getTypeArgument对实现接口获取不全面问题 2023-06-30 18:17:28 +08:00
Looly
7e04a657a1 StrUtil增加truncateByByteLength方法 2023-06-30 10:34:16 +08:00
Golden Looly
a51d0e6bd7
Merge pull request #3176 from feg545/v5-dev
增加按字节长度截断字符串方法
2023-06-30 10:29:21 +08:00
Looly
77e455d98b RandomUtil增加可选是否包含边界的重载 2023-06-30 10:13:20 +08:00
Looly
dc23237651 修复Pair序列化转换无效问题 2023-06-29 17:28:20 +08:00
Looly
d494e001b6 DateUtil.parse适配6位毫秒格式 2023-06-29 17:07:34 +08:00
Looly
161edefaf2 修复PathUtil.getMimeType可能造成的异常 2023-06-29 09:21:51 +08:00
zhangfl
e997b4e0a8 增加按字节长度截断字符串方法 2023-06-27 18:32:38 +08:00
Looly
050f312c56 Ipv4Util 新增方法:检测指定 IP 地址是否匹配通配符 2023-06-27 11:10:43 +08:00
zhinushannan
bfcb2b7d51 Ipv4Util 新增方法:检测指定 IP 地址是否匹配通配符 pattern 2023-06-27 10:56:22 +08:00
Looly
4982f49a37 修复序列化和反序列化Class问题 2023-06-25 18:08:27 +08:00
Looly
7ab95e5cb8 修复MapUtil工具使用filter方法构造传入参数结果问题 2023-06-25 16:27:54 +08:00