未验证 提交 c9d341e9 编写于 作者: С Сергей Цыпанов 提交者: GitHub

Simplify String construction in StringUtils.changeFirstCharacterCase()

Closes gh-27012
上级 950b1837
......@@ -566,7 +566,7 @@ public abstract class StringUtils {
char[] chars = str.toCharArray();
chars[0] = updatedChar;
return new String(chars, 0, chars.length);
return new String(chars);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册