mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2026-01-07 19:31:48 +08:00
20 lines
397 B
Java
20 lines
397 B
Java
package me.zhyd.oauth.utils;
|
|
|
|
/**
|
|
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
|
|
* @version 1.0
|
|
* @website https://www.zhyd.me
|
|
* @date 2019/1/31 15:48
|
|
* @since 1.8
|
|
*/
|
|
public class StringUtils {
|
|
|
|
public static boolean isEmpty(String str) {
|
|
return null == str || str.isEmpty();
|
|
}
|
|
|
|
public static boolean isNotEmpty(String str) {
|
|
return !isEmpty(str);
|
|
}
|
|
}
|