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) {
|
private static boolean isBlank(final String str) {
|
||||||
final int strLen = str.length();
|
if (str != null) {
|
||||||
for (int i = 0; i < strLen; i++) {
|
final int strLen = str.length();
|
||||||
if (!Character.isWhitespace(str.charAt(i))) {
|
for (int i = 0; i < strLen; i++) {
|
||||||
return false;
|
if (!Character.isWhitespace(str.charAt(i))) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue