Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Development Lib
>
Common Toolkit
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
4K
Star
24.3K
Fork
8.3K
GVP
chinabugotech
/
hutool
Code
Issues
3
Pull Requests
1
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
478
处理了`CollStreamUtil.toIdentityMap`和`CollStreamUtil.toMap`中,如果`value`为空时,发生`NPE`异常问题
Merged
阿超:v5-dev
chinabugotech:v5-dev
阿超
create on 2021-12-06 21:39
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
#### 说明 1. 请确认你提交的PR是到'v5-dev'分支,否则我会手动修改代码并关闭PR。 2. 请确认没有更改代码风格(如tab缩进) 3. 新特性添加请确认注释完备,如有必要,请在src/test/java下添加Junit测试用例 ### 修改描述(包括说明bug修复或者添加新特性) 1. [bug修复] 处理了`CollStreamUtil.toIdentityMap`中,如果`value`为空时,发生`NPE`异常问题 处理了`CollStreamUtil.toMap`中,如果`value`为空时,发生`NPE`异常问题 例如集合中只有部分元素为`null`或者`toMap`时`value`为`null`时 实际发生场景如下:我查询出用户与好友关联关系,并想获取Map<好友编号, 好友备注>时,使用该函数导致`NPE`,因为默认使用的 `Map.merge`不允许空值,而我此处场景下,允许未给好友备注,也就是允许`null`值,故 修复了该问题 测试用例已提供 2. [新特性] balabala……
How to merge Pull Request
git checkout v5-dev
git pull https://gitee.com/VampireAchao/hutool.git v5-dev
git push origin v5-dev
Comments
2
Commits
3
Files
2
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
eli_chow
eli-chow
chinabugotech
chinabugotech
Looly
loolly_admin
No Setting
Min number
0
Tester
eli_chow
eli-chow
chinabugotech
chinabugotech
Looly
loolly_admin
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
No link issue
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(2)
Java
1
https://gitee.com/chinabugotech/hutool.git
git@gitee.com:chinabugotech/hutool.git
chinabugotech
hutool
hutool
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register