修改字符串类配置导入时大小写敏感校验.

This commit is contained in:
zhangwenqing
2018-12-26 20:13:17 +08:00
parent e999a45554
commit 58a90993d3
2 changed files with 2 additions and 2 deletions

View File

@@ -367,7 +367,7 @@ public class CheckComplexStringFormatThread implements Callable<String>{
baseStringCfg.setIsHexbin(1);
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
baseStringCfg.setIsHexbin(2);
}else {
} else if (hexP.indexOf("1") != -1 && isHex.intValue() == 1 && isCaseInsenstive.intValue() == 1) {// 只有是十六进制且取值正确的时候, 才进行(十六进制)与(大小写敏感)的校验
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
}
}

View File

@@ -408,7 +408,7 @@ public class CheckStringFormatThread implements Callable<String>{
baseStringCfg.setIsHexbin(1);
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
baseStringCfg.setIsHexbin(2);
}else {
} else if (hexP.indexOf("1") != -1 && isHex.intValue() == 1 && isCaseInsenstive.intValue() == 1) {// 只有是十六进制且取值正确的时候, 才进行(十六进制)与(大小写敏感)的校验
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
}
}