garydgregory commented on code in PR #1536:
URL: https://github.com/apache/commons-lang/pull/1536#discussion_r2636027977


##########
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:
   It turns out, this sentence isn't true since we don't return the same 
object. Would you mind fixing that as well.



-- 
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]

Reply via email to