bug: 修复工具类StringUtils.toCameCase方法对于数据库大写字段如USERNAME无法转换为username的问题

pull/1073/head
BookerLiu 2025-07-29 13:54:23 +08:00
parent 725c7dcea2
commit da0f0237e3
1 changed files with 1 additions and 1 deletions

View File

@ -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++)