mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -122,6 +122,10 @@ public class StringUtils {
|
||||
return a.equalsIgnoreCase(b);
|
||||
}
|
||||
|
||||
public static boolean isEmpty(String value) {
|
||||
return isEmpty((CharSequence) value);
|
||||
}
|
||||
|
||||
public static boolean isEmpty(CharSequence value) {
|
||||
if (value == null || value.length() == 0) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user