3.9K Star 22.5K Fork 7.8K

GVPdromara / hutool

 / 详情

增强objectUtils.isEmpty

已完成
创建于  
2019-06-22 12:58

现objectUtil.isEmpty使用的是StrUtil.isEmpty方法,能否修改成isBlank或新增一个ObjectUtil方法叫isBlank,开发业务都是isBlank用的多

评论 (2)

程序辉 创建了任务

请使用 StrUtil.isBlank

Looly 任务状态待办的 修改为已完成
Looly 添加了
 
question
标签

我参数是Object 不知道什么类型.我希望如果是string可以用StrUtil.isBlank,就不能加一个ObjectUtil方法.既然叫hu-tool,就不能以现实生活的业务为主吗.很少有业务传" "空格字符串是有意义的.

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1463 loolly admin 1578914022 353788 javahui 1578921153
Java
1
https://gitee.com/dromara/hutool.git
git@gitee.com:dromara/hutool.git
dromara
hutool
hutool

搜索帮助