Skip to content
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

Consistent null empty blank string logic #1784

Open
wants to merge 7 commits into
base: georgie
Choose a base branch
from

Conversation

JohnMcGuinness
Copy link
Contributor

Replace usages of com.github.bordertech.wcomponents.util.Util with equivalent library methods from org.apache.commons.lang3 or java.util.Objects.

Addresses #1622

@JohnMcGuinness JohnMcGuinness self-assigned this Jun 21, 2021
@JohnMcGuinness JohnMcGuinness removed the request for review from jonathanaustin June 22, 2021 01:16
Removed usage of Util::empty from wcomponents-test-lib.

Removed invalid test from WButtonExample_Test after discaussing with
Mark. Util::empty didn't do what it's javadoc said it did. It allowed
whitespace with a unicode character code greater than that of 'space'.
@JohnMcGuinness JohnMcGuinness requested review from jonathanaustin and a user June 22, 2021 05:54
@JohnMcGuinness JohnMcGuinness linked an issue Jun 22, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WButton is allowing 'whitespace only' text
1 participant