Akshat19Upadhyay commented on code in PR #1536:
URL: https://github.com/apache/commons-lang/pull/1536#discussion_r2636811610
##########
src/main/java/org/apache/commons/lang3/StringUtils.java:
##########
@@ -8820,7 +8820,7 @@ public static String truncate(final String str, final int
maxWidth) {
* </p>
* <ul>
* <li>If {@code str} is less than {@code maxWidth} characters long,
return it.</li>
Review Comment:
Hi @garydgregory,
I have updated the Javadoc to clarify that a new String is returned and
removed the extra line break.
Please let me know if this looks good now.
Thanks.
--
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]