Update Configuration.java

This commit is contained in:
404or500 2018-11-21 15:37:38 +08:00 committed by GitHub
parent d4d1ea6a15
commit 2e4209d154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1038,7 +1038,7 @@ public class Configuration {
"系统编程错误, 该异常代表系统编程错误, 请联系DataX开发团队!."); "系统编程错误, 该异常代表系统编程错误, 请联系DataX开发团队!.");
} }
for (final String each : StringUtils.split(".")) { for (final String each : StringUtils.split(path, ".")) {
if (StringUtils.isBlank(each)) { if (StringUtils.isBlank(each)) {
throw new IllegalArgumentException(String.format( throw new IllegalArgumentException(String.format(
"系统编程错误, 路径[%s]不合法, 路径层次之间不能出现空白字符 .", path)); "系统编程错误, 路径[%s]不合法, 路径层次之间不能出现空白字符 .", path));