修复CharsequenceUtiltoLowerCase方法拼写错误(issue#3941@Github)

This commit is contained in:
Looly
2025-05-15 16:45:23 +08:00
parent f0c7b4d8f0
commit a49523ffab
2 changed files with 15 additions and 0 deletions

View File

@@ -4244,8 +4244,22 @@ public class CharSequenceUtil {
* @return 转换后的字符串
* @see String#toLowerCase()
* @since 5.8.38
* @deprecated 拼写错误,请使用 {@link #toLowerCase(CharSequence)}
*/
@Deprecated
public static String toLoweCase(final CharSequence str) {
return toLowerCase(str);
}
/**
* 将字符串转为小写
*
* @param str 被转的字符串
* @return 转换后的字符串
* @see String#toLowerCase()
* @since 5.8.39
*/
public static String toLowerCase(final CharSequence str) {
if (null == str) {
return null;
}