|
@@ -1,7 +1,6 @@
|
|
|
package thyyxxk.webserver.utils;
|
|
|
|
|
|
|
|
|
-import com.microsoft.sqlserver.jdbc.StringUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -75,7 +74,7 @@ public class StringUtil {
|
|
|
* @return 返回 到底要不要 toUpperCase
|
|
|
*/
|
|
|
public static String isContainChinese(String str) {
|
|
|
- if (StringUtils.isEmpty(str)) {
|
|
|
+ if (isBlank(str)) {
|
|
|
return "";
|
|
|
}
|
|
|
Pattern p = Pattern.compile("[\u4E00-\u9FA5|\\!|\\,|\\。|\\(|\\)|\\《|\\》|\\“|\\”|\\?|\\:|\\;|\\【|\\】]");
|