New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LANG-1474 documentation correction #442
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3369,7 +3369,7 @@ public static boolean isAlphaSpace(final CharSequence cs) { | |
* <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> | ||
* | ||
* <pre> | ||
* StringUtils.isAnyBlank((String) null) = true | ||
* StringUtils.isAnyBlank((String) null) = false | ||
* StringUtils.isAnyBlank((String[]) null) = false | ||
* StringUtils.isAnyBlank(null, "foo") = true | ||
* StringUtils.isAnyBlank(null, null) = true | ||
|
@@ -3402,7 +3402,7 @@ public static boolean isAnyBlank(final CharSequence... css) { | |
* <p>Checks if any of the CharSequences are empty ("") or null.</p> | ||
* | ||
* <pre> | ||
* StringUtils.isAnyEmpty((String) null) = true | ||
* StringUtils.isAnyEmpty((String) null) = false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto above for me. |
||
* StringUtils.isAnyEmpty((String[]) null) = false | ||
* StringUtils.isAnyEmpty(null, "foo") = true | ||
* StringUtils.isAnyEmpty("", "bar") = true | ||
|
@@ -3575,7 +3575,7 @@ public static boolean isMixedCase(final CharSequence cs) { | |
* <p>Whitespace is defined by {@link Character#isWhitespace(char)}.</p> | ||
* | ||
* <pre> | ||
* StringUtils.isNoneBlank((String) null) = false | ||
* StringUtils.isNoneBlank((String) null) = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one gave me |
||
* StringUtils.isNoneBlank((String[]) null) = true | ||
* StringUtils.isNoneBlank(null, "foo") = false | ||
* StringUtils.isNoneBlank(null, null) = false | ||
|
@@ -3600,7 +3600,7 @@ public static boolean isNoneBlank(final CharSequence... css) { | |
* <p>Checks if none of the CharSequences are empty ("") or null.</p> | ||
* | ||
* <pre> | ||
* StringUtils.isNoneEmpty((String) null) = false | ||
* StringUtils.isNoneEmpty((String) null) = true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as this one, |
||
* StringUtils.isNoneEmpty((String[]) null) = true | ||
* StringUtils.isNoneEmpty(null, "foo") = false | ||
* StringUtils.isNoneEmpty("", "bar") = false | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried
System.out.println(StringUtils.isAnyBlank((String) null));
usingmaster
branch and it printedtrue
. Have you tried this code too?