From c2cd0525d97495daa820d2fcb29d6875b52c09a6 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 15 Sep 2024 15:50:34 -0400 Subject: [PATCH] Javadoc --- .../org/apache/commons/lang3/StringUtils.java | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java index cd1204f32..c69d0526d 100644 --- a/src/main/java/org/apache/commons/lang3/StringUtils.java +++ b/src/main/java/org/apache/commons/lang3/StringUtils.java @@ -964,7 +964,7 @@ public class StringUtils { } /** - * Checks if CharSequence contains a search CharSequence, handling {@code null}. + * Tests if CharSequence contains a search CharSequence, handling {@code null}. * This method uses {@link String#indexOf(String)} if possible. * *

A {@code null} CharSequence will return {@code false}.

@@ -993,7 +993,7 @@ public class StringUtils { } /** - * Checks if CharSequence contains a search character, handling {@code null}. + * Tests if CharSequence contains a search character, handling {@code null}. * This method uses {@link String#indexOf(int)} if possible. * *

A {@code null} or empty ("") CharSequence will return {@code false}.

@@ -1020,7 +1020,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains any character in the given + * Tests if the CharSequence contains any character in the given * set of characters. * *

A {@code null} CharSequence will return {@code false}. @@ -1074,7 +1074,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains any character in the given set of characters. + * Tests if the CharSequence contains any character in the given set of characters. * *

* A {@code null} CharSequence will return {@code false}. A {@code null} search CharSequence will return @@ -1110,7 +1110,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains any of the CharSequences in the given array. + * Tests if the CharSequence contains any of the CharSequences in the given array. * *

* A {@code null} {@code cs} CharSequence will return {@code false}. A {@code null} or zero length search array will @@ -1138,7 +1138,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains any of the CharSequences in the given array. + * Tests if the CharSequence contains any of the CharSequences in the given array. * *

* A {@code null} {@code cs} CharSequence will return {@code false}. A {@code null} or zero length search array will @@ -1165,7 +1165,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains any of the CharSequences in the given array, ignoring case. + * Tests if the CharSequence contains any of the CharSequences in the given array, ignoring case. * *

* A {@code null} {@code cs} CharSequence will return {@code false}. A {@code null} or zero length search array will @@ -1195,7 +1195,7 @@ public class StringUtils { } /** - * Checks if CharSequence contains a search CharSequence irrespective of case, + * Tests if CharSequence contains a search CharSequence irrespective of case, * handling {@code null}. Case-insensitivity is defined as by * {@link String#equalsIgnoreCase(String)}. * @@ -1233,7 +1233,7 @@ public class StringUtils { } /** - * Checks that the CharSequence does not contain certain characters. + * Tests that the CharSequence does not contain certain characters. * *

A {@code null} CharSequence will return {@code true}. * A {@code null} invalid character array will return {@code true}. @@ -1285,7 +1285,7 @@ public class StringUtils { } /** - * Checks that the CharSequence does not contain certain characters. + * Tests that the CharSequence does not contain certain characters. * *

A {@code null} CharSequence will return {@code true}. * A {@code null} invalid character array will return {@code true}. @@ -1315,7 +1315,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only certain characters. + * Tests if the CharSequence contains only certain characters. * *

A {@code null} CharSequence will return {@code false}. * A {@code null} valid character array will return {@code false}. @@ -1351,7 +1351,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only certain characters. + * Tests if the CharSequence contains only certain characters. * *

A {@code null} CharSequence will return {@code false}. * A {@code null} valid character String will return {@code false}. @@ -1381,7 +1381,7 @@ public class StringUtils { } /** - * Check whether the given CharSequence contains any whitespace characters. + * Tests whether the given CharSequence contains any whitespace characters. * *

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -1714,7 +1714,7 @@ public class StringUtils { } /** - * Check if a CharSequence ends with a specified suffix. + * Tests if a CharSequence ends with a specified suffix. * *

{@code null}s are handled without exceptions. Two {@code null} * references are considered to be equal. The comparison is case-sensitive.

@@ -1742,7 +1742,7 @@ public class StringUtils { } /** - * Check if a CharSequence ends with a specified suffix (optionally case-insensitive). + * Tests if a CharSequence ends with a specified suffix (optionally case-insensitive). * * @see String#endsWith(String) * @param str the CharSequence to check, may be null @@ -1764,7 +1764,7 @@ public class StringUtils { } /** - * Check if a CharSequence ends with any of the provided case-sensitive suffixes. + * Tests if a CharSequence ends with any of the provided case-sensitive suffixes. * *
      * StringUtils.endsWithAny(null, null)                  = false
@@ -3223,7 +3223,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if all of the CharSequences are empty (""), null or whitespace only.
+     * Tests if all of the CharSequences are empty (""), null or whitespace only.
      *
      * 

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -3256,7 +3256,7 @@ public class StringUtils { } /** - * Checks if all of the CharSequences are empty ("") or null. + * Tests if all of the CharSequences are empty ("") or null. * *
      * StringUtils.isAllEmpty(null)             = true
@@ -3287,7 +3287,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if the CharSequence contains only lowercase characters.
+     * Tests if the CharSequence contains only lowercase characters.
      *
      * 

{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code false}.

@@ -3322,7 +3322,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only uppercase characters. + * Tests if the CharSequence contains only uppercase characters. * *

{@code null} will return {@code false}. * An empty String (length()=0) will return {@code false}.

@@ -3357,7 +3357,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only Unicode letters. + * Tests if the CharSequence contains only Unicode letters. * *

{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code false}.

@@ -3390,7 +3390,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only Unicode letters or digits. + * Tests if the CharSequence contains only Unicode letters or digits. * *

{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code false}.

@@ -3425,7 +3425,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only Unicode letters, digits + * Tests if the CharSequence contains only Unicode letters, digits * or space ({@code ' '}). * *

{@code null} will return {@code false}. @@ -3461,7 +3461,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only Unicode letters and + * Tests if the CharSequence contains only Unicode letters and * space (' '). * *

{@code null} will return {@code false} @@ -3497,7 +3497,7 @@ public class StringUtils { } /** - * Checks if any of the CharSequences are empty ("") or null or whitespace only. + * Tests if any of the CharSequences are empty ("") or null or whitespace only. * *

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -3532,7 +3532,7 @@ public class StringUtils { } /** - * Checks if any of the CharSequences are empty ("") or null. + * Tests if any of the CharSequences are empty ("") or null. * *
      * StringUtils.isAnyEmpty((String) null)    = true
@@ -3564,7 +3564,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if the CharSequence contains only ASCII printable characters.
+     * Tests if the CharSequence contains only ASCII printable characters.
      *
      * 

{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code true}.

@@ -3603,7 +3603,7 @@ public class StringUtils { } /** - * Checks if a CharSequence is empty (""), null or whitespace only. + * Tests if a CharSequence is empty (""), null or whitespace only. * *

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -3634,7 +3634,7 @@ public class StringUtils { } /** - * Checks if a CharSequence is empty ("") or null. + * Tests if a CharSequence is empty ("") or null. * *
      * StringUtils.isEmpty(null)      = true
@@ -3657,7 +3657,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if the CharSequence contains mixed casing of both uppercase and lowercase characters.
+     * Tests if the CharSequence contains mixed casing of both uppercase and lowercase characters.
      *
      * 

{@code null} will return {@code false}. An empty CharSequence ({@code length()=0}) will return * {@code false}.

@@ -3701,7 +3701,7 @@ public class StringUtils { } /** - * Checks if none of the CharSequences are empty (""), null or whitespace only. + * Tests if none of the CharSequences are empty (""), null or whitespace only. * *

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -3728,7 +3728,7 @@ public class StringUtils { } /** - * Checks if none of the CharSequences are empty ("") or null. + * Tests if none of the CharSequences are empty ("") or null. * *
      * StringUtils.isNoneEmpty((String) null)    = false
@@ -3752,7 +3752,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if a CharSequence is not empty (""), not null and not whitespace only.
+     * Tests if a CharSequence is not empty (""), not null and not whitespace only.
      *
      * 

Whitespace is defined by {@link Character#isWhitespace(char)}.

* @@ -3775,7 +3775,7 @@ public class StringUtils { } /** - * Checks if a CharSequence is not empty ("") and not null. + * Tests if a CharSequence is not empty ("") and not null. * *
      * StringUtils.isNotEmpty(null)      = false
@@ -3794,7 +3794,7 @@ public class StringUtils {
     }
 
     /**
-     * Checks if the CharSequence contains only Unicode digits.
+     * Tests if the CharSequence contains only Unicode digits.
      * A decimal point is not a Unicode digit and returns false.
      *
      * 

{@code null} will return {@code false}. @@ -3838,7 +3838,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only Unicode digits or space + * Tests if the CharSequence contains only Unicode digits or space * ({@code ' '}). * A decimal point is not a Unicode digit and returns false. * @@ -3878,7 +3878,7 @@ public class StringUtils { } /** - * Checks if the CharSequence contains only whitespace. + * Tests if the CharSequence contains only whitespace. * *

Whitespace is defined by {@link Character#isWhitespace(char)}.

*