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


##########
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:
   Hello @garydgregory,
   
   Thank you for pointing this out.
   You are right — the method does not return the same object, only a String 
with the same content.
   I will update the Javadoc accordingly and rebase the PR on master.
   
   Thanks for the guidance.
   



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