mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor login
This commit is contained in:
@@ -185,4 +185,12 @@ public class StringUtils {
|
||||
}
|
||||
return a.equals(b);
|
||||
}
|
||||
|
||||
public static boolean isEmpty(String value) {
|
||||
if (value == null || value.length() == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user