修改字符串类配置导入时大小写敏感校验.
This commit is contained in:
@@ -367,7 +367,7 @@ public class CheckComplexStringFormatThread implements Callable<String>{
|
|||||||
baseStringCfg.setIsHexbin(1);
|
baseStringCfg.setIsHexbin(1);
|
||||||
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
|
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
|
||||||
baseStringCfg.setIsHexbin(2);
|
baseStringCfg.setIsHexbin(2);
|
||||||
}else {
|
} else if (hexP.indexOf("1") != -1 && isHex.intValue() == 1 && isCaseInsenstive.intValue() == 1) {// 只有是十六进制且取值正确的时候, 才进行(十六进制)与(大小写敏感)的校验
|
||||||
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
|
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ public class CheckStringFormatThread implements Callable<String>{
|
|||||||
baseStringCfg.setIsHexbin(1);
|
baseStringCfg.setIsHexbin(1);
|
||||||
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
|
} else if (isHex.intValue() == 0 && isCaseInsenstive.intValue() == 1) {
|
||||||
baseStringCfg.setIsHexbin(2);
|
baseStringCfg.setIsHexbin(2);
|
||||||
}else {
|
} else if (hexP.indexOf("1") != -1 && isHex.intValue() == 1 && isCaseInsenstive.intValue() == 1) {// 只有是十六进制且取值正确的时候, 才进行(十六进制)与(大小写敏感)的校验
|
||||||
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
|
errInfo.append(prop.getProperty("hex_case_insensitive")+ ";");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user