更新 StrUtil 的 toStringOrEmpty 方法 @author 信息

更新 StrUtil 的 toStringOrEmpty 方法 @author 信息 

Signed-off-by: ahwei <ahwei163@qq.com>
This commit is contained in:
ahwei 2024-04-08 07:23:51 +00:00 committed by Gitee
parent 8f31843817
commit 404f0bd394
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -292,6 +292,7 @@ public class StrUtil extends CharSequenceUtil implements StrPool {
*
* @param obj 对象
* @return {@link String }
* @author Junwei Xu
*/
public static String toStringOrEmpty(Object obj) {
// obj为空时, 返回 null "null" 都不适用部分场景, 此处返回 "" 空字符串