Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev

This commit is contained in:
Looly
2021-08-26 17:15:35 +08:00

View File

@@ -219,7 +219,7 @@ public class DesensitizedUtil {
* 【密码】密码的全部字符都用*代替,比如:****** * 【密码】密码的全部字符都用*代替,比如:******
* *
* @param password 密码 * @param password 密码
* @return 脱敏后的邮箱 * @return 脱敏后的密码
*/ */
public static String password(String password) { public static String password(String password) {
if (StrUtil.isBlank(password)) { if (StrUtil.isBlank(password)) {