|
@@ -382,7 +382,7 @@ public class SecurityUtils
|
|
|| (isPureChar && hasSpecChar) || isNumAndChar && hasSpecChar) || isNumAndChar;
|
|
|| (isPureChar && hasSpecChar) || isNumAndChar && hasSpecChar) || isNumAndChar;
|
|
return isLegal;
|
|
return isLegal;
|
|
}
|
|
}
|
|
- public static void mainTest(String[] args)
|
|
|
|
|
|
+ public static void mainTests(String[] args)
|
|
{
|
|
{
|
|
System.out.println(masks("我开双方都三始",1));
|
|
System.out.println(masks("我开双方都三始",1));
|
|
System.out.println(masks("220122197601247014",2));
|
|
System.out.println(masks("220122197601247014",2));
|