bug: 修复工具类StringUtils.toCameCase方法对于数据库大写字段如USERNAME无法转换为username的问题
parent
725c7dcea2
commit
da0f0237e3
|
|
@ -598,11 +598,11 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
|
|||
{
|
||||
return null;
|
||||
}
|
||||
s = s.toLowerCase();
|
||||
if (s.indexOf(SEPARATOR) == -1)
|
||||
{
|
||||
return s;
|
||||
}
|
||||
s = s.toLowerCase();
|
||||
StringBuilder sb = new StringBuilder(s.length());
|
||||
boolean upperCase = false;
|
||||
for (int i = 0; i < s.length(); i++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue