切换mysql为达梦数据库-代码审查
1.supervision-boot模块
This commit is contained in:
@@ -122,12 +122,13 @@ public class ClearPathUtil {
|
|||||||
return 'X';
|
return 'X';
|
||||||
case 'Ⅹ':
|
case 'Ⅹ':
|
||||||
return 'Ⅹ';
|
return 'Ⅹ';
|
||||||
}
|
default:
|
||||||
if (isChineseChar(ch)) {
|
if (isChineseChar(ch)) {
|
||||||
return ch;
|
return ch;
|
||||||
}
|
}
|
||||||
return '%';
|
return '%';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 根据Unicode编码判断中文汉字和符号
|
// 根据Unicode编码判断中文汉字和符号
|
||||||
private static boolean isChineseChar(char c) {
|
private static boolean isChineseChar(char c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user