This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f5af74  Corrected documentation for StringUtils.abbreviate() (#343)
4f5af74 is described below

commit 4f5af740dd0c7fc515cb73936942d82c13ce06f2
Author: Awais Chishti <[email protected]>
AuthorDate: Fri Feb 6 12:52:37 2026 -0800

    Corrected documentation for StringUtils.abbreviate() (#343)
---
 src/main/java/org/apache/maven/shared/utils/StringUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/shared/utils/StringUtils.java 
b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
index 0cd9e04..f51f85b 100644
--- a/src/main/java/org/apache/maven/shared/utils/StringUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
@@ -1771,7 +1771,7 @@ public class StringUtils {
     /**
      * <p>Turn "Now is the time for all good men" into "Now is the time 
for..."</p>
      * <p>Specifically:</p>
-     * <p>If str is less than max characters long, return it.
+     * <p>If str is no greater than max characters long, return it.
      * Else abbreviate it to (substring(str, 0, max-3) + "...").
      * If maxWidth is less than 3, throw an IllegalArgumentException.
      * In no case will it return a string of length greater than maxWidth.</p>

Reply via email to