字符未使用下划线不进行驼峰式处理

This commit is contained in:
RuoYi
2020-07-19 12:19:04 +08:00
parent 491e88855b
commit 5cf1300cec
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@@ -372,6 +372,10 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return null;
}
if (s.indexOf(SEPARATOR) == -1)
{
return s;
}
s = s.toLowerCase();
StringBuilder sb = new StringBuilder(s.length());
boolean upperCase = false;
@@ -401,4 +405,4 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return (T) obj;
}
}
}