Commit 79c3acf0 authored by 技术部-任文超's avatar 技术部-任文超

调整日志参数顺序

parent 8fcb2ed3
......@@ -66,7 +66,7 @@ public class ValidationUtil {
for (int i = 0; i < chinese.length(); i++) {
uniCodeTemp.append("\\u").append(Integer.toHexString((int) chinese.charAt(i)));
}
log.info("[ValidationUtil][validateChinese]:[chinese][unicode][length]:[{}][{}][{}]", chinese, chinese.length(), uniCodeTemp);
log.info("[ValidationUtil][validateChinese]:[chinese][length][unicode]:[{}][{}][{}]", chinese, chinese.length(), uniCodeTemp);
}
// 兼容扩展字集合
valid = valid || chineseExtendPattern.matcher(chinese).find();
......
......@@ -22,7 +22,9 @@ public class TestValidationUtil {
{"17393151197","高晓辉.买买提"},
{"17393151197","高晓辉·喀秋莎.买买提"},
{"17393151197","高晓辉·喀秋莎"},
{"18721920553","王正\u202D"}};
{"18721920553","王正\u202D"},
{"15242331122","\u200D刘玥盈"}
};
for(String[] ctc : contacts) {
log.info("phoneNo:[{}][{}],name:[{}][{}],name-trim:[{}][{}]",
ctc[0],ValidationUtil.validatePhoneNo(ctc[0]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment