|
|
@ -301,7 +301,6 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
|
|
|
|
}
|
|
|
|
}
|
|
|
|
sb.append(Character.toLowerCase(c));
|
|
|
|
sb.append(Character.toLowerCase(c));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return sb.toString();
|
|
|
|
return sb.toString();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -364,7 +363,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 驼峰式命名法 例如:user_name->userName
|
|
|
|
* 驼峰式命名法
|
|
|
|
|
|
|
|
* 例如:user_name->userName
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static String toCamelCase(String s)
|
|
|
|
public static String toCamelCase(String s)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -372,6 +372,10 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (s.indexOf(SEPARATOR) == -1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return s;
|
|
|
|
|
|
|
|
}
|
|
|
|
s = s.toLowerCase();
|
|
|
|
s = s.toLowerCase();
|
|
|
|
StringBuilder sb = new StringBuilder(s.length());
|
|
|
|
StringBuilder sb = new StringBuilder(s.length());
|
|
|
|
boolean upperCase = false;
|
|
|
|
boolean upperCase = false;
|
|
|
|