Zhenheng.Xie
|
307670b50d
|
fix: 修复 XmlUtil 中转义/反转义方法错误调用 html4 转义/反转义方法的问题。html4 转义会将中文双引号等字符转义为 xml 无法识别的字符,从而导致解析 xml 时出现异常
|
2025-01-09 17:10:54 +08:00 |
|
Looly
|
46fa4a1295
|
add test
|
2024-12-26 18:24:50 +08:00 |
|
Looly
|
629f7d4915
|
!1291 MapUtil部分测试用例
Merge pull request !1291 from miko/v5-dev
|
2024-12-26 10:14:02 +00:00 |
|
miko
|
c9bbe506d9
|
MapUtil[partition][computeIfAbsentForJdk8][computeIfAbsent][entry][valuesOfKeys][clear][empty][removeNullValue][renameKey][get/getQuietly]测试用例
|
2024-12-26 08:57:27 +08:00 |
|
Looly
|
c65e928db8
|
prepare 5.8.36
|
2024-12-25 18:50:41 +08:00 |
|
Looly
|
6a9ee9aebb
|
🐌Release 5.8.35
|
2024-12-25 18:23:05 +08:00 |
|
Looly
|
4e2c460ab6
|
添加EnumUtil#getBy(Class, Func1, Object)方法
|
2024-12-15 22:51:28 +08:00 |
|
Looly
|
603b7aa870
|
!1283 添加 EnumUtil#getBy(Class, Func1, Object)方法,最终的条件过滤统一使用 EnumUtil#getBy(Class, Predicate, Enum) 方法
Merge pull request !1283 from 罗敬/v5-dev
|
2024-12-15 14:39:41 +00:00 |
|
Looly
|
8a8a5f7161
|
DateUtil.parseUTC方法标记废弃,改名为parseISO8601(issue#IBB6I5@Gitee)
|
2024-12-15 22:23:41 +08:00 |
|
LuoJing
|
a62f7f3765
|
add 添加 EnumUtil#getBy(Class, Func1, Object)方法,最终的条件过滤统一使用 EnumUtil#getBy(Class, Predicate, Enum) 方法
|
2024-12-14 22:25:35 +08:00 |
|
Looly
|
75d10d7b14
|
add test
|
2024-12-05 16:54:05 +08:00 |
|
Looly
|
b8f681fef1
|
优化MAC地址正则(issue#IB95X4@Gitee)
|
2024-12-05 10:39:13 +08:00 |
|
Looly
|
ae1a18cd20
|
add test
|
2024-12-04 18:18:12 +08:00 |
|
Looly
|
843d1d11dc
|
修复DateUtil.rangeContains未重置问题(issue#IB8OFS@gitee)
|
2024-12-04 00:29:00 +08:00 |
|
Looly
|
9db224b70a
|
prepare 5.8.35
|
2024-11-27 10:30:06 +08:00 |
|
Looly
|
aacf53c834
|
😗release 5.8.34
|
2024-11-27 08:35:30 +08:00 |
|
Looly
|
004f90a5c9
|
add test
|
2024-11-26 20:13:29 +08:00 |
|
Looly
|
e6c6baabd2
|
DataSizeUtil 新增format方法(issue#IB6UUX@Gitee)
|
2024-11-25 19:31:24 +08:00 |
|
Looly
|
50807c84d6
|
修复JSONUtil.toBean()中将JSON数组字符串转Map对象返回错误问题(issue#3795@Github)
|
2024-11-24 16:01:28 +08:00 |
|
Looly
|
fc60818326
|
【可能的向下兼容问题】修复双引号转义符转义错误问题,修改规则后,对非闭合双引号字段的策略变更,如"aa,则被识别为aa
|
2024-11-24 00:19:21 +08:00 |
|
Looly
|
aa04f420ef
|
add test
|
2024-11-21 21:40:27 +08:00 |
|
Looly
|
812c75158e
|
!1277 删除了无用的函数调用
Merge pull request !1277 from ing/v5-dev
|
2024-11-15 07:17:43 +00:00 |
|
Looly
|
62d31e4656
|
Calculator兼容x 字符作为乘号(issue#3787@Github)
|
2024-11-15 11:29:51 +08:00 |
|
海轩铭
|
e411b082e7
|
将所有main中未使用的函数调用进行了删除
|
2024-11-14 16:44:31 +08:00 |
|
Looly
|
4a860c77ff
|
ZipUtil.unzip增加编码容错(issue#I3UZ28@Gitee)
|
2024-11-13 12:35:59 +08:00 |
|
Looly
|
55bd8afcef
|
修复DateUtil.rangeToList中step小于等于0时无限循环问题
|
2024-11-06 12:50:42 +08:00 |
|
Looly
|
557d69b137
|
prepare 5.8.34
|
2024-11-05 20:38:55 +08:00 |
|
Looly
|
d57de39963
|
🤤release 5.8.33
|
2024-11-05 20:16:40 +08:00 |
|
Looly
|
735f531e3c
|
NetUtil.bigIntegerToIPv6增加长度修正
|
2024-11-05 18:15:37 +08:00 |
|
Looly
|
4224e86461
|
优化所调用的ObjectUtil#defaultIfNull避免重复创建
|
2024-11-05 17:58:11 +08:00 |
|
ZhouXY108
|
75b434fb49
|
修改所调用的 ObjectUtil#defaultIfNull 的重载版本
|
2024-11-04 15:23:11 +08:00 |
|
Golden Looly
|
e7659d6e26
|
Merge pull request #3772 from Pluto-Whong/patch-1
优化 “计算等份个数” 方法
|
2024-10-29 19:57:33 +08:00 |
|
Looly
|
93e113399b
|
add test
|
2024-10-29 19:47:23 +08:00 |
|
Looly
|
e108aa18ce
|
PropDesc.isTransientForGet使用className,避免Android下类找不到问题
|
2024-10-29 19:42:56 +08:00 |
|
Looly
|
db416c307c
|
EscapeUtil.escapeHtml4增加空处理
|
2024-10-25 21:48:17 +08:00 |
|
Looly
|
0449db7aa9
|
add test
|
2024-10-24 18:59:50 +08:00 |
|
Pluto
|
d0bf70f6a8
|
Update NumberUtil.java
优化统计方法
至少三次除法 -> 至多三次加减法+一次除法
|
2024-10-21 17:34:21 +08:00 |
|
Looly
|
6d7cf5dddf
|
fix comment
|
2024-10-18 14:10:20 +08:00 |
|
Looly
|
445a876dfe
|
fix comment
|
2024-10-02 13:44:02 +08:00 |
|
Looly
|
5cf262d85a
|
TreeUtil.buildSingle指定rootId节点存在时,作为根节点
|
2024-10-02 13:10:59 +08:00 |
|
Looly
|
6d7d0abbba
|
CollUtil#disjunction注释改为对称差集
|
2024-09-26 19:19:47 +08:00 |
|
Looly
|
6ebca582f1
|
ModifierUtil明确注释,并增加hasAllModifiers方法
|
2024-09-11 13:18:19 +08:00 |
|
Looly
|
ca30287f2a
|
修复ImgUtil.write写出临时文件未清理问题
|
2024-09-09 22:26:25 +08:00 |
|
Looly
|
0f30cd7dde
|
修复ArrayUtil.lastIndexOfSub递归改为循环
|
2024-09-09 22:13:45 +08:00 |
|
Looly
|
ef299062f8
|
修复ArrayUtil.lastIndexOfSub死循环问题
|
2024-09-09 21:31:47 +08:00 |
|
Looly
|
8e3ac79ecb
|
修复ArrayUtil.lastIndexOfSub死循环问题
|
2024-09-09 21:30:57 +08:00 |
|
Looly
|
d12fcab0e8
|
修复ArrayUtil.lastIndexOfSub死循环问题
|
2024-09-09 21:25:28 +08:00 |
|
Golden Looly
|
129588cfd3
|
Merge pull request #3721 from liujiabao88/v5-dev
fix-兼容NumberUtil.add方法传入整型自动类型转换为浮点类型的精度丢失问题
|
2024-09-05 16:38:52 +08:00 |
|
liujiabao
|
b18b25456d
|
fix-兼容NumberUtil.add方法传入整型自动类型转换的精度丢失问题
|
2024-09-05 13:39:37 +08:00 |
|
Looly
|
2b30b8df24
|
SM2解密时,兼容GmSSL非压缩省略的04头的密文
|
2024-09-05 13:23:47 +08:00 |
|
Looly
|
b87dd58270
|
用ArrayList重新实现权重随机类:WeightListRandom
|
2024-09-04 20:16:37 +08:00 |
|
Looly
|
0f995b1010
|
Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev
|
2024-09-04 20:08:34 +08:00 |
|
wangyefeng
|
8586d7f60b
|
用ArrayList重新实现权重随机类
|
2024-09-16 17:31:35 +08:00 |
|
Looly
|
15317ab861
|
修复RegexPool.CHINESE_NAME范围太大的问题
|
2024-09-03 18:12:48 +08:00 |
|
Looly
|
7e83369205
|
修复RegexPool.CHINESE_NAME范围太大的问题
|
2024-09-03 18:04:39 +08:00 |
|
Looly
|
f1bc355ff0
|
SyncFinisher增加setExecutorService方法(issue#IANKQ1@Gitee)
|
2024-09-03 11:39:58 +08:00 |
|
Looly
|
dbd92814db
|
修复JSONConfig.setDateFormat设置后toBean无效问题
|
2024-09-02 13:44:52 +08:00 |
|
Looly
|
99c1daf803
|
prepare 5.8.33
|
2024-08-30 19:07:52 +08:00 |
|
Looly
|
467d67e83a
|
🍼Release 5.8.32
|
2024-08-30 18:41:44 +08:00 |
|
Looly
|
9262ace7da
|
修复JSONConfig.setDateFormat设置后setWriteLongAsString失效问题
|
2024-08-30 18:39:31 +08:00 |
|
Looly
|
c3b576f698
|
修复Tree.cloneTree的Parent节点引用错误问题
|
2024-08-30 15:11:43 +08:00 |
|
Looly
|
c459a0f613
|
FileUtil.getTotalLines()支持CR换行符
|
2024-08-29 09:50:07 +08:00 |
|
Looly
|
227a6efe63
|
add test
|
2024-08-24 13:02:11 +08:00 |
|
Looly
|
9be0fef520
|
修复CopyOptions.setFieldValueEditor后生成null值setIgnoreNullValue无效问题
|
2024-08-22 12:05:24 +08:00 |
|
Looly
|
e1aa3f6ff5
|
add test
|
2024-08-21 18:51:27 +08:00 |
|
Looly
|
d84d033df8
|
修复ZipUtil压缩成流的方法检查文件时报错问题
|
2024-08-15 18:51:39 +08:00 |
|
Looly
|
60709f8a57
|
prepare 5.8.32
|
2024-08-12 19:12:02 +08:00 |
|
Looly
|
8d0f4d6968
|
😒Release 5.8.31
|
2024-08-12 18:50:45 +08:00 |
|
Looly
|
f2d0791b8b
|
修复GraphicsUtil.drawString方法签名变化导致的问题
|
2024-08-12 18:49:51 +08:00 |
|
Looly
|
ee0b68dbb6
|
TreeUtil增加build方法,可以构建Bean的树结构
|
2024-08-11 16:14:13 +08:00 |
|
huangxin
|
a662326849
|
增加函数式构建树的方法(无需继承特定Tree类)
|
2024-08-11 11:54:36 +08:00 |
|
Looly
|
194a1d2c58
|
prepare 5.8.31
|
2024-08-09 19:46:04 +08:00 |
|
Looly
|
ef90358c51
|
prepare 5.8.31
|
2024-08-09 19:21:32 +08:00 |
|
Looly
|
c7e0bc5d9f
|
单元测试由Junit4变更为Junit5
|
2024-08-09 14:32:30 +08:00 |
|
Looly
|
155c43a6a3
|
🌞Release 5.8.30
|
2024-08-09 12:49:15 +08:00 |
|
Looly
|
82e16b52b8
|
fix test
|
2024-08-09 12:37:16 +08:00 |
|
Looly
|
cfd60e564e
|
增加默认色差方法
|
2024-08-09 12:08:13 +08:00 |
|
Looly
|
d75c13a12f
|
!1257 防止设置色差过大,导致循环次数过多等优化
Merge pull request !1257 from czc/v5-dev
|
2024-08-09 04:06:30 +00:00 |
|
chenzecheng
|
fe6ab048e3
|
计算色差值,参数为null时返回最大色差值
|
2024-08-09 10:20:56 +08:00 |
|
chenzecheng
|
a6f0193e19
|
防止设置色差过大,导致循环次数过多,增加默认色差方法
|
2024-08-09 09:40:28 +08:00 |
|
Looly
|
b2f95c9281
|
XmlUtil增加xmlToBean重载,支持CopyOptions参数
|
2024-08-09 09:16:57 +08:00 |
|
Looly
|
57d9a415fc
|
增加文字颜色与背景颜色色差设置
|
2024-08-08 16:32:37 +08:00 |
|
chenzecheng
|
c85e79d698
|
增加图形验证码文字颜色与背景颜色色差设置
|
2024-08-08 14:46:15 +08:00 |
|
Looly
|
02a38a4f52
|
zip压缩到本目录时可能造成的死循环问题
|
2024-08-01 23:08:53 +08:00 |
|
Looly
|
469b433b53
|
修复CsvParser中对正文中双引号处理逻辑问题
|
2024-07-31 01:14:32 +08:00 |
|
Looly
|
4bb0a445c4
|
修复Convert.digitToChinese(0)输出金额无元整问题
|
2024-07-31 00:15:37 +08:00 |
|
Looly
|
8ae3a87174
|
add test
|
2024-07-31 00:05:58 +08:00 |
|
Looly
|
6e662d7e6d
|
add test
|
2024-07-30 23:28:08 +08:00 |
|
Looly
|
08c8ef1be9
|
fix code
|
2024-07-30 22:50:14 +08:00 |
|
Looly
|
0de4581927
|
修复IdcardUtil.isValidHKCard校验问题
|
2024-07-30 16:00:45 +08:00 |
|
Looly
|
9ce821650f
|
add test
|
2024-07-30 15:32:30 +08:00 |
|
Looly
|
47c2eda038
|
优化IndexedComparator性能
|
2024-07-30 11:20:47 +08:00 |
|
Looly
|
f7fa704d6c
|
!1240 优化 IndexedComparator性能,它在ExcelWriter带别名写入存在性能问题
Merge pull request !1240 from mochouZero555/v5-dev
|
2024-07-30 03:03:00 +00:00 |
|
Looly
|
f5f96b66f5
|
Opt增加ifFail
|
2024-07-30 09:43:43 +08:00 |
|
Looly
|
e859bc869d
|
add test
|
2024-07-30 09:04:49 +08:00 |
|
mochouZero555
|
3bc4743ac3
|
fix 优化排序benchmark
|
2024-07-25 09:18:35 +08:00 |
|
mochouZero555
|
b330e57671
|
add benchMark
|
2024-07-24 20:53:58 +08:00 |
|
mochouZero555
|
f8cd37acd9
|
优化 IndexedComparator性能,底层实现由array变为hashMap,避免循环equals
|
2024-07-22 10:26:47 +08:00 |
|
Looly
|
fb664be8c5
|
add test
|
2024-07-18 16:23:39 +08:00 |
|
Looly
|
57b566f9c7
|
CharSequenceUtil增加stripAll方法(pr#3659@Github)
|
2024-07-18 11:42:27 +08:00 |
|
Looly
|
0bf794883a
|
CharSequenceUtil增加removeAllPrefix和removeAllSuffix方法
|
2024-07-16 19:17:21 +08:00 |
|
Looly
|
05efb8dd79
|
Merge branch 'v5-dev' of github.com:dromara/hutool into v5-dev
|
2024-07-16 18:56:02 +08:00 |
|
Looly
|
dd659efb52
|
UrlQuery增加remove方法
|
2024-07-16 15:21:00 +08:00 |
|
lilanlong
|
7d72d8c5e7
|
增加移除所有前缀方法:removeAllPrefix
增加移除所有后缀方法:removeAllSuffix
|
2024-07-16 10:58:37 +08:00 |
|
Looly
|
7262c7695f
|
修复FileTypeUtil.getType空指针问题
|
2024-07-15 20:24:10 +08:00 |
|
Looly
|
068ba234da
|
add test
|
2024-07-11 18:20:18 +08:00 |
|
Looly
|
037d984803
|
add test
|
2024-07-11 18:16:55 +08:00 |
|
Looly
|
0219415194
|
add test
|
2024-07-11 18:15:54 +08:00 |
|
Looly
|
c7019cd851
|
Converter转换规则变更,空对象、空值转为Bean时,创建默认对象,而非nul
|
2024-07-11 12:48:31 +08:00 |
|
Looly
|
b2510cf661
|
Converter转换规则变更,空对象、空值转为Bean时,创建默认对象,而非nul
|
2024-07-11 12:43:40 +08:00 |
|
Looly
|
2b995a5370
|
add test
|
2024-07-10 20:30:35 +08:00 |
|
Looly
|
30e4695096
|
修复FileUtil.file末尾换行符导致路径判断错误的问题
|
2024-07-10 20:23:39 +08:00 |
|
Looly
|
b335a2e1dc
|
add test
|
2024-07-10 19:44:38 +08:00 |
|
Looly
|
48cc7f5b57
|
修复BeanUtil.copyProperties中mapToMap时key被转为String问题
|
2024-07-06 11:36:22 +08:00 |
|
Looly
|
1a46b2a39e
|
修复FileUtil.cleanEmpty无法正确清空递归空目录问题
|
2024-07-06 10:37:43 +08:00 |
|
Earlman
|
082ae2fdf7
|
fix bug:当前目录清除完毕,需要再次判断当前文件夹,空文件夹则删除之
|
2024-07-05 17:36:09 +08:00 |
|
Looly
|
5c86d4eced
|
fix test
|
2024-07-04 21:37:23 +08:00 |
|
Looly
|
7e7575c512
|
修复因RFC3986理解有误导致的UrlPath处理冒号转义问题
|
2024-07-04 12:27:15 +08:00 |
|
Looly
|
1ef70d5210
|
prepare 5.8.30
|
2024-07-03 18:38:41 +08:00 |
|
Looly
|
95a363cc74
|
🐶release 5.8.29
|
2024-07-03 18:06:42 +08:00 |
|
Looly
|
3aa08feee2
|
修复FastDatePrinter处理YY错误问题
|
2024-07-01 16:37:41 +08:00 |
|
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 |
|