garydgregory commented on code in PR #1813:
URL: https://github.com/apache/commons-lang/pull/1813#discussion_r4287803249
##########
src/main/java/org/apache/commons/lang3/StringUtils.java:
##########
@@ -661,6 +664,8 @@ public static String center(String str, final int size,
final char padChar) {
* StringUtils.center("a", 4, "yz") = "yayz"
* StringUtils.center("abc", 7, null) = " abc "
* StringUtils.center("abc", 7, "") = " abc "
+ * StringUtils.center("a", 2, "😀") = "a"
+ * StringUtils.center("a", 3, "😀") = "a😀"
Review Comment:
@Alwaysgaurav1 Please fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]