You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/05/29 14:50:56 UTC

[maven-shared-utils] 01/01: correct API docs for clean and trim

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

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

commit 9cde3f97aa0a37161dea257fbf5707ff8752d9e6
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Fri May 29 10:50:41 2020 -0400

    correct API docs for clean and trim
---
 src/main/java/org/apache/maven/shared/utils/StringUtils.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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 2a14de3..ba9d730 100644
--- a/src/main/java/org/apache/maven/shared/utils/StringUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/StringUtils.java
@@ -69,7 +69,7 @@ public class StringUtils
     //--------------------------------------------------------------------------
 
     /**
-     * <p>Removes control characters, including whitespace, from both
+     * <p>Removes C0 control characters, including ASCII whitespace, from both
      * ends of this String, handling <code>null</code> by returning
      * an empty String.</p>
      *
@@ -83,7 +83,7 @@ public class StringUtils
     }
 
     /**
-     * <p>Removes control characters, including whitespace, from both
+     * <p>Removes C0 control characters, including ASCII whitespace, from both
      * ends of this String, handling <code>null</code> by returning
      * <code>null</code>.</p>
      *
@@ -530,10 +530,10 @@ public class StringUtils
      * <p>Splits the provided text into a array, based on a given separator.</p>
      * <p/>
      * <p>The separator is not included in the returned String array. The
-     * maximum number of splits to perfom can be controlled. A <code>null</code>
-     * separator will cause parsing to be on whitespace.</p>
+     * maximum number of splits to perform can be controlled. A <code>null</code>
+     * separator causes splitting on whitespace.</p>
      * <p/>
-     * <p>This is useful for quickly splitting a String directly into
+     * <p>This is useful for quickly splitting a String  into
      * an array of tokens, instead of an enumeration of tokens (as
      * <code>StringTokenizer</code> does).</p>
      *