mirror of https://github.com/apache/poi.git
use of junit internal StringUtils is causing build issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911519 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b9a7c42c1
commit
ac9da84c86
|
@ -275,10 +275,12 @@ public class TestAllFiles {
|
|||
}
|
||||
|
||||
private static boolean isBlank(final String str) {
|
||||
final int strLen = str.length();
|
||||
for (int i = 0; i < strLen; i++) {
|
||||
if (!Character.isWhitespace(str.charAt(i))) {
|
||||
return false;
|
||||
if (str != null) {
|
||||
final int strLen = str.length();
|
||||
for (int i = 0; i < strLen; i++) {
|
||||
if (!Character.isWhitespace(str.charAt(i))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue