别信AI生成的代码
This commit is contained in:
parent
e4461223b5
commit
47bd1e3d7c
|
|
@ -59,7 +59,7 @@ public final class EleCommonUtil {
|
||||||
if (StrUtil.isBlank(pwd)) {
|
if (StrUtil.isBlank(pwd)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return pwd.matches(PWD_PATTERN_STR);
|
return PWD_PATTERN.matcher(pwd).matches();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isFileNameValid(String fileFullName) {
|
public static boolean isFileNameValid(String fileFullName) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue