This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new a048ba56f Fix Javadoc typo and improve clarity in defaultIfBlank
method (#1376)
a048ba56f is described below
commit a048ba56fb341eb54928023d7432db27da98521d
Author: Sridhar Balijepalli <[email protected]>
AuthorDate: Sun Apr 27 07:40:10 2025 -0700
Fix Javadoc typo and improve clarity in defaultIfBlank method (#1376)
Co-authored-by: Sridhar Balijepalli <[email protected]>
---
src/main/java/org/apache/commons/lang3/StringUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 5ddc3bbde..b2a310288 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -1493,7 +1493,7 @@ public static int countMatches(final CharSequence str,
final CharSequence sub) {
* @param <T> the specific kind of CharSequence
* @param str the CharSequence to check, may be null
* @param defaultStr the default CharSequence to return
- * if the input is whitespace, empty ("") or {@code null}, may be null
+ * if {@code str} is whitespace, empty ("") or {@code null}, may be null
* @return the passed in CharSequence, or the default
* @see StringUtils#defaultString(String, String)
*/