Commit Graph

2974 Commits

Author SHA1 Message Date
Looly
953fc7b18f
!964 NullComparator 比较器bug修复
Merge pull request !964 from 想长大的笨小孩/v5-master
2023-03-25 20:59:27 +00:00
想长大的笨小孩
3c13da5515 !1 NullComparator 比较器bug修复
* 1. 当使用 new PropertyComparator("endTime", false) 时,把null值放到最后,不生效
2023-03-25 10:00:44 +00:00
zzzj
8b0b21f742 commonPrefix与commonSuffix支持空字符串(前缀/后缀)匹配 2023-03-24 11:44:30 +08:00
Looly
7bed31e13f FileUtil增加readLines重载,支持filter 2023-03-24 00:06:32 +08:00
Golden Looly
8395ca12b0
Merge pull request #3006 from li-keguo/feature/filter-readline
add filter read line
2023-03-24 00:03:59 +08:00
Looly
f36c83421e 修复WatchUtil createModify maxDepth传递后没有使用问题 2023-03-24 00:01:13 +08:00
Looly
d192a53bbb NumberUtil增加重载parseXXX方法, 解析失败返回默认值 2023-03-23 23:55:58 +08:00
Golden Looly
59470d1669
Merge pull request #3007 from zzzj1233/v5-dev
Feat: NumberUtil重载parseXXX方法, 解析失败返回默认值, 代替抛出异常
2023-03-23 23:52:16 +08:00
Looly
88c959c4ed 修复CalendarUtil.isSameMonth没有判断公元前导致不一致的问题 2023-03-23 22:34:21 +08:00
zzzj
0390c8c606 CharSequenceUtil新增commonPrefix与commonSuffix方法 2023-03-23 18:04:44 +08:00
zzzj
7ce0ddf343 parse( Int/Long/Float/Double/Number ) Test Case 2023-03-23 11:54:53 +08:00
zzzj
88e99a3972 parse( Int/Long/Float/Double/Number ), 支持默认值参数, 解析失败通过返回默认值替代抛出异常 2023-03-23 11:54:20 +08:00
likeguo
d02c662437 add filter read line 2023-03-23 00:19:20 +08:00
likeguo
3c72340868 add filter read line 2023-03-23 00:16:49 +08:00
likeguo
292ceb594b add filter read line 2023-03-22 23:40:40 +08:00
likeguo
8da20d7638 Merge branch 'v5-master' into feature/filter-readline
# Conflicts:
#	hutool-core/src/main/java/cn/hutool/core/io/FileUtil.java
2023-03-22 23:39:02 +08:00
likeguo
4b7da5119b add filter read line 2023-03-22 23:30:03 +08:00
Looly
9cb10bb214 add test 2023-03-21 23:54:49 +08:00
Looly
6f8b4dd818 修复DateUtil针对ISO8601时间格式部分场景下的解析存在问题 2023-03-14 23:02:55 +08:00
Looly
6fd8f7f8d8 fix comment 2023-03-14 22:54:24 +08:00
ZhouXY108
1c6dd7a250 修改 Javadoc 的小问题。 2023-03-14 11:30:29 +08:00
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
4cc18740a3 优化ArrayUtil的空判断 2023-03-10 22:06:41 +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
914a7b700c prepare 5.8.16 2023-03-09 19:14:55 +08:00
Looly
eeef29977f backup 5.8.15 2023-03-09 19:13:17 +08:00
Looly
c861931cef prepare 5.8.16 2023-03-09 09:48:29 +08:00
Looly
9bbba8f319 release 5.8.15 2023-03-09 00:20:08 +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
11e3d7acf2
!952 docs:纠正Opt.filter方法的文档描述
Merge pull request !952 from renshiyang/v5-dev
2023-03-07 10:23:36 +00:00
Looly
cc9bd54cc8 add test 2023-03-07 18:22:31 +08:00
任世杨
b62e99d573 docs:纠正Opt.filter方法的文档描述 2023-03-07 14:30:58 +08:00
Looly
bf6871fb6d prepare 5.8.15 2023-03-05 23:18:04 +08:00
Looly
4c9ddb666c 🐸release 5.8.14 2023-03-05 22:47:27 +08:00
Looly
52617b2032 修复FileUtil.moveContent会删除源目录的问题 修复HttpBase.body导致的空指针问题 2023-03-05 22:45:36 +08:00
Looly
51c29abcad 去除冗余插件 2023-03-04 13:48:40 +08:00
Looly
460d09f25b prepare 5.8.14 2023-03-03 23:45:00 +08:00
Looly
09351d3b9d 🐶release 5.8.13 2023-03-03 23:33:42 +08:00
Looly
3dfdd86ca0 修复JWT自定义时间格式后的时间戳转换问题 2023-03-03 23:26:59 +08:00
Looly
2cdce52d4a add test 2023-03-03 22:12:51 +08:00
Looly
a717d03420 JavaSourceCompiler#compile增加自定义options重载 2023-03-03 20:51:46 +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
f5cb27a608 根据JDK-8080225修改了部分新建文件输入流和文件输出流的创建方式 2023-02-28 22:45:56 +08:00
Looly
46b9633768 build(pom): 添加 Automatic-Module-Name属性 2023-02-28 22:34:17 +08:00
Looly
5fcd4093be PhoneUtil.isTel400800支持400-XXX-XXXX格式 2023-02-28 22:18:57 +08:00
Looly
819bf98d50 修复MutableObj.equals空指针问题 2023-02-24 15:44:38 +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
ae4d79ebd6 修复Tailer文件内容跟随在调用stop后,文件依旧被占用问题 2023-02-21 12:00:14 +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
Looly
d0a2b90c55 prepare 5.8.13 2023-02-09 21:23:56 +08:00
Looly
9dbdf1423e 🍳release 5.8.12 2023-02-09 21:15:09 +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
db108e1ca9 DateUtil.date方法统一修改规则,传入null返回null 2023-02-09 20:31:17 +08:00
Golden Looly
c64b38244b
Merge pull request #2877 from 847689421/v5-dev
修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,调整为入参为null时return null
2023-02-09 20:06:20 +08:00
Golden Looly
a15cb6fed5
Merge pull request #2869 from zhaomoran/v5-master
修改注释:通过key获取的始终是同一对象和参数无关
2023-02-09 20:04:29 +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
Looly
648a8e9443
!929 修复Ipv4Util.list()方法的bug
Merge pull request !929 from emptypoint/fix-bug-Ipv4Util
2023-02-09 11:06:25 +00:00
Looly
02e85a80e5 【重要】删除XmlUtil.readObjectFromXml方法,避免漏洞 2023-02-09 18:31:54 +08:00
mochouZero555
6a0ff8b4c3 IssueI6DDJ4,IoUtil.read()文档修复,读取完毕后关闭流 2023-02-08 09:04:24 +08:00
ZZemptypoint
1d1061eae6 fix bug Ipv4Util.list(String,String)方法生成的ip不全; 2023-02-04 21:44:59 +08:00
subin
aadd768c92 修复DateUtil.date(java.time.temporal.TemporalAccessor)方法入参为null时报NullPointerException异常问题,入参为null时return null 2023-02-01 17:31:52 +08:00
zhiqiang94@vip.qq.com
739a8382af 修复XmlUtil.toStr方法注释(omitXmlDeclaration表示为忽略 xml Declaration) 2023-02-01 17:27:39 +08:00
Looly
4450208e54 fix doc 2023-01-31 09:48:58 +08:00
mrzhao
baa782ea27
修改注释:通过key获取的始终是同一对象和参数无关 2023-01-29 11:39:26 +08:00
Golden Looly
02630160ce
Merge pull request #2864 from mcp2016/备注信息的错误修改
备注信息的错误修改
2023-01-19 11:39:06 +08:00
Golden Looly
36816bac59
Merge pull request #2865 from mcp2016/针对coll1为只读集合的补偿
针对CollUtil.subtract coll1 为只读集合的补偿
2023-01-19 11:37:37 +08:00
hellozrh
c9061f388c 调整方法注释,保证准确性。 2023-01-18 09:20:06 +08:00
hellozrh
c660d79bf2 解决excel读到时空白行rowHanler重复执行的问题。 2023-01-18 09:20:05 +08:00
Looly
9994083fe1 修复ClassScanner自定义classload无效问题 2023-01-17 17:30:45 +08:00
Looly
9183a9100e DesensitizedUtil增加对IPv4和IPv6支持 2023-01-17 17:07:18 +08:00
Looly
b958f9f9d2 修复IoUtil.readBytes使用SocketInputStream读取不完整问题 2023-01-17 16:40:45 +08:00
mcp
57ea3a31a3 cn.hutool.core.collection.CollUtil.subtract 针对 coll1 为只读集合的补偿 2023-01-17 16:29:43 +08:00
mcp
faf5994fe0 cn.hutool.core.bean.BeanUtil.isMatchName 备注信息的错误修改 2023-01-17 14:59:54 +08:00
Looly
b212fdc685 修复FileUtil的rename在newName与原文件夹名称一样时,文件夹会被删除问题 2023-01-15 11:35:31 +08:00
Golden Looly
c80fc89952
Merge pull request #2811 from bigbeef/v5-master
WGS84 坐标与墨卡托投影互转
2023-01-15 11:28:26 +08:00
Looly
9aef56a973 重构根据file magic number判断文件类型 2023-01-15 11:27:08 +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
554b828745 XmlUtil.readObjectFromXml增加注入漏洞的警告注释,并标识为废弃 2023-01-15 11:08:09 +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
09a2dc3807 prepare 5.8.12 2022-12-27 22:14:45 +08:00
Looly
61dbf0ffe2 🐧release 5.8.11 2022-12-27 22:02:14 +08:00
Looly
837489aa1a fix comment 2022-12-27 21:50:01 +08:00
Looly
582f9e7a8c 修复CoordinateUtil坐标转换参数错误 2022-12-27 21:40:59 +08:00
Looly
200c098b29 修复ConverterRegistry中无效加载导致的问题 2022-12-27 20:48:28 +08:00
Golden Looly
0cf4a8d6c1
Merge pull request #2816 from 847689421/v5-dev
BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法
2022-12-27 20:25:27 +08:00
Looly
1e11bd5da5 修复IndexedComparator导致的数据错乱问题(ExcelWriter使用部分别名导致字段丢失) 2022-12-27 19:59:35 +08:00
Looly
b78657f67f 修复UrlBuilder中参数中包括"://"判断错误问题 2022-12-27 19:41:52 +08:00
大黄蜂coder
1950b783ab
修正20037508不不准确的问题 2022-12-26 17:08:36 +08:00
TomXin
0c31def7b8 修复Gitee issue #I66CIR 2022-12-21 17:16:13 +08:00
subin
d63d28106a BooleanUtil增加toString(Boolean bool, String trueString, String falseString, String nullString)方法 2022-12-19 22:18:16 +08:00
大黄蜂coder
bc306e56de
WGS84 坐标与墨卡托投影互转
WGS84 坐标与墨卡托投影互转
2022-12-15 18:24:46 +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
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
Looly
c12102e89b 修复LRUCache移除事件监听失效 2022-10-12 00:11:32 +08:00
Looly
09e8d7c6d1 add u2800 as blank char 2022-10-10 22:10:23 +08:00
Looly
e354ea93cc fix doc 2022-10-09 18:37:21 +08:00
V9S
a058ff4595 fix doc 2022-10-09 10:17:05 +08:00
Looly
0596dec9ab CharUtil.isBlank添加Hangul Filler字符 2022-10-08 21:15:08 +08:00
Looly
7eb899e226 修复ReUtil.replaceAll替换变量错误问题 2022-09-30 20:10:11 +08:00
Golden Looly
730d5a00e2
Merge pull request #2636 from samho2008/patch-20220929
Fix typo: 维度 -> 纬度
2022-09-30 19:25:31 +08:00
Looly
44684aa036 AnnotationUtil类支持Lambda获取某注解属性值 2022-09-30 19:07:36 +08:00
Looly
82824793ba
!827 注解工具类支持Lambda获取某注解属性值
Merge pull request !827 from 嗯嗯/v5-dev
2022-09-30 11:04:46 +00:00
Looly
9ffe5d67f5 DateUtil增加isLastDayOfMonth、getLastDayOfMonth方法 2022-09-30 19:03:11 +08:00
LinRuChang
2c24738b2c 注解工具类支持Lambda获取某注解属性值 2022-09-30 12:32:35 +08:00
LinRuChang
80f973093c 注解工具类支持Lambda获取某注解属性值 2022-09-30 11:36:30 +08:00
sam
d92211c804 Fix typo: 维度 -> 纬度 2022-09-29 14:55:46 +08:00
quping
ee12875bf3 新增了获取本月最后一天,是否为本月最后一天 2022-09-28 18:07:27 +08:00
Looly
42a427193b prepare 5.8.9 2022-09-26 23:38:44 +08:00
Looly
77e42315a7 release 5.8.8 2022-09-26 23:20:29 +08:00
Looly
f9fdd16c3b fix doc 2022-09-26 22:56:32 +08:00
Looly
52496bb62f CharsetDetector增加默认识别的长度 2022-09-26 22:52:13 +08:00
Looly
bef38c365b hutool-extra ftp 支持上传文件或目录 2022-09-26 22:18:45 +08:00
青韵
0b8c4bbad0 CollUtil.unionAll优化:初始化一次size,防止ArrayList多次扩容 2022-09-26 21:33:49 +08:00
Looly
186289c979 fix doc 2022-09-24 01:08:24 +08:00
Looly
8d348b539d 修复ReflectUtil 反射方法中桥接问题 2022-09-23 11:51:49 +08:00
Looly
e59548ebbf 修复ObjectUtil.defaultIfNull去掉误加的deprecated 2022-09-22 16:40:12 +08:00
Looly
7a71c90edb AbsCollValueMap添加removeValue和removeValues方法,用于list value值移除 2022-09-22 16:25:51 +08:00
gaotianyu01
d24672bb4e AbsCollValueMap添加removeValue方法,用于单个值移除 2022-09-22 15:20:28 +08:00
Looly
de4cc16454 fix doc 2022-09-21 18:58:52 +08:00
Looly
a74fa1e7f5 fix doc 2022-09-21 18:57:44 +08:00
Looly
474c90bdb1 fix doc 2022-09-21 18:38:53 +08:00
Looly
eef7943d8a ModifierUtil和ReflectUtil增加removeFinalModify 2022-09-21 18:31:31 +08:00
Looly
0941210553
!810 反射新增:setFieldModify(field)方法,设置final字段可以被修改,并设置到:setFieldValue中
Merge pull request !810 from dazer007/v5-dev-ReflectUtil-add-setFieldModify
2022-09-21 10:33:26 +00:00
Looly
dbf87f452f add testr 2022-09-21 18:23:49 +08:00
duandazhi
724728987d 1、重命名:setFieldModify-->removeFinalModify
2、移除: ReflectUtil.setFieldValue自动进行:removeFinalModify
2022-09-21 16:45:10 +08:00
duandazhi
f19d94dc8d setFieldModify增加详细注释 2022-09-21 14:51:27 +08:00
duandazhi
a8b89e48e3 JdbcDialects改成内部类 2022-09-21 14:37:48 +08:00
duandazhi
c9fe271244 setFieldModify增加非空校验,增加位与、位非 运算符说明 2022-09-21 14:29:14 +08:00
duandazhi
bcfbd28c12 ReflectUtilTest增加:测试方法,验证对 final属性的修改 2022-09-21 14:04:01 +08:00
duandazhi
fae97d0d3e ReflectUtil新增setFieldModify方法,设置:final字段可以被修改 2022-09-21 14:03:14 +08:00
Looly
5f68c73938 修复PunyCode处理域名的问题 2022-09-20 22:54:58 +08:00
Looly
1d3cf0d1a7 add method 2022-09-20 18:58:30 +08:00
Looly
11f52ffc4f 修复murmur3_32实现错误 2022-09-20 17:03:42 +08:00
Golden Looly
0c6ea1b3e8
Merge pull request #2616 from morn-0/v5-dev
修复 murmur3 32 实现错误
2022-09-20 16:14:25 +08:00
Golden Looly
41af0e6c50
Merge pull request #2617 from remember-5/v5-dev
增加.wgt格式的MimeType
2022-09-20 15:09:12 +08:00
Looly
ce1e5d3827 add test 2022-09-20 15:00:33 +08:00
wangjiahao
a91168951c 增加.wgt格式的MimeType 2022-09-20 14:47:09 +08:00
morn-0
1854755fb6 修复 murmur3 32 错误 2022-09-19 15:52:53 +08:00
Looly
1af96de3ae StreamUtil.of方法新增对 Iterator 支持;StreamUtil.of(Iterable) 方法优化 2022-09-19 09:52:40 +08:00
Looly
f897da013f
!807 StreamUtil.of方法新增对 Iterator 支持;StreamUtil.of(Iterable) 方法优化
Merge pull request !807 from 这是一个腊鸡/v5-dev
2022-09-19 01:29:14 +00:00
Looly
e0bb2da87b 修复FileNameUtil.cleanInvalid无法去除换行符问题 2022-09-17 22:27:51 +08:00
青韵
05e14f0fb6 StreamUtil.of(Iterable)方法优化 2022-09-17 11:14:05 +08:00
青韵
46daf6c1c0 StreamUtil.of方法新增对 Iterator 支持 2022-09-17 10:52:09 +08:00
Looly
351f5305d9 prepare 5.8.8 2022-09-15 23:57:43 +08:00
Looly
e4c2478c6f release 5.8.7 2022-09-15 23:47:10 +08:00
Looly
773d483337 fix test 2022-09-15 23:26:31 +08:00
Looly
53204e5e5b 修复Convert.chineseMoneyToNumber角分丢失问题 2022-09-15 23:17:31 +08:00
Looly
874e33458e 修复DateUtil.parseUTC时对-的处理问题 2022-09-15 17:12:30 +08:00
Looly
06fec1045c 增加SafeConcurrentHashMap 2022-09-15 09:50:54 +08:00
Looly
920fe44e50 修复ConcurrentHashMap.computeIfAbsent缺陷导致的问题 2022-09-15 01:35:34 +08:00
Looly
d1472f2bfe ImgUtil中颜色相关方法剥离到ColorUtil中 2022-09-15 01:05:28 +08:00
Golden Looly
746c18fdf7
Merge pull request #2513 from hiqiuyi/v5-dev
指定压缩后图片的背景色
2022-09-15 00:40:05 +08:00
Looly
bce8d93ba7 新增AnsiColors(改自Spring Boot)、AnsiColorWrapper,优化QrCodeUtil 2022-09-15 00:07:02 +08:00
Looly
15f0b6be54
!778 新增AnsiColors(改自Spring Boot)、AnsiColorWrapper,优化QrCodeUtil
Merge pull request !778 from Tom Xin/v5-dev-qrcode-svg
2022-09-14 14:57:18 +00:00
Looly
c7bb17138e IdcardUtil增加convert18To15方法 2022-09-14 21:49:22 +08:00
Looly
d8b4aa5ec3 gts 2022-09-14 00:28:13 +08:00
Looly
182023042b fix comment 2022-09-13 23:49:11 +08:00
Looly
5bd118c636 修复ObjectUtil.defaultIfXXX中NPE问题 2022-09-13 23:04:32 +08:00
Golden Looly
a4a0633ed9
Merge pull request #2603 from youtiaoguagua/v5-dev
fix(bug): change ObjectUtil.defaultIfXXX param type Supplier to Function
2022-09-13 23:01:22 +08:00
Looly
344c27ae17 add test 2022-09-13 19:23:13 +08:00
Looly
b2c90d7d88 BooleanUtil的andOfWrap和orOfWrap()忽略null 2022-09-13 11:17:13 +08:00
youtiaoguagua
df98df70bb fix(bug): change ObjectUtil.defaultIfXXX param type Supplier to Function 2022-09-11 00:16:46 +08:00
youzipi
96499b96b5 refactor(core:MapUtil): simplify code 2022-09-06 18:44:22 +08:00
Looly
097370550e prepare 5.8.7 2022-09-05 18:24:23 +08:00
Looly
3fa9181bed 🐷release 5.8.6 2022-09-05 18:07:31 +08:00
Looly
8165bf9c82 ImgUtil增加sliceByRowsAndCols重载方法支持自定义图片格式 2022-09-05 17:18:00 +08:00