Skip to content

Commit a048ba5

Browse files
Fix Javadoc typo and improve clarity in defaultIfBlank method (#1376)
Co-authored-by: Sridhar Balijepalli <sridhar.balijepalli@harness.io>
1 parent ad1ea0b commit a048ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/lang3/StringUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ public static int countMatches(final CharSequence str, final CharSequence sub) {
14931493
* @param <T> the specific kind of CharSequence
14941494
* @param str the CharSequence to check, may be null
14951495
* @param defaultStr the default CharSequence to return
1496-
* if the input is whitespace, empty ("") or {@code null}, may be null
1496+
* if {@code str} is whitespace, empty ("") or {@code null}, may be null
14971497
* @return the passed in CharSequence, or the default
14981498
* @see StringUtils#defaultString(String, String)
14991499
*/

0 commit comments

Comments
 (0)