mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 14:17:56 +00:00
perf[storage]: 提高excel读取速度
This commit is contained in:
1 parent
94f0a6113f
commit
a30397f3a3
3 files changed
+31
-24
No files matched your search
@@ -145,6 +145,9 @@ public abstract class StringUtils {
|
||||
return cs == null || cs.length() == 0;
|
||||
}
|
||||
|
||||
public static boolean isNotEmpty(final CharSequence cs) {
|
||||
return !isEmpty(cs);
|
||||
}
|
||||
|
||||
/**
|
||||
* StringUtils.isBlank(null)=true
|
||||
@@ -168,6 +171,10 @@ public abstract class StringUtils {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static boolean isNotBlank(final CharSequence cs) {
|
||||
return !isBlank(cs);
|
||||
}
|
||||
|
||||
public static String trim(String str) {
|
||||
if (StringUtils.isBlank(str)) {
|
||||
return EMPTY;
|
||||
|
||||
Reference in new issue
Block a user