fix comment

This commit is contained in:
Looly 2021-03-28 14:24:41 +08:00
parent e8d15ec29c
commit 8d28db0e94

View File

@ -192,7 +192,7 @@ public class DesensitizedUtil {
} }
/** /**
* 电子邮箱邮箱前缀仅显示第一个字母前缀其他隐藏用星号代替@及后面的地址显示比如d**@126.com> * 电子邮箱邮箱前缀仅显示第一个字母前缀其他隐藏用星号代替@及后面的地址显示比如d**@126.com
* *
* @param email 邮箱 * @param email 邮箱
* @return 脱敏后的邮箱 * @return 脱敏后的邮箱
@ -223,11 +223,11 @@ public class DesensitizedUtil {
/** /**
* 中国车牌车牌中间用*代替 * 中国车牌车牌中间用*代替
* eg1null => "" * eg1null - ""
* eg1"" => "" * eg1"" - ""
* eg3苏D40000 => 苏D4***0 * eg3苏D40000 - 苏D4***0
* eg4陕A12345D => 陕A1****D * eg4陕A12345D - 陕A1****D
* eg5京A123 => 京A123 如果是错误的车牌不处理 * eg5京A123 - 京A123 如果是错误的车牌不处理
* *
* @param carLicense 完整的车牌号 * @param carLicense 完整的车牌号
* @return 脱敏后的车牌 * @return 脱敏后的车牌