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

Add method in KiwiPreconditions to check that a collection of String contains only non-blank elements #1152

Closed
sleberknight opened this issue Jun 14, 2024 · 0 comments · Fixed by #1157
Assignees
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Milestone

Comments

@sleberknight
Copy link
Member

This is a variant of #1151 but specifically for collections of String.

The method(s) can be named similarly to the ones in #1151 , for example checkArgumentContainsOnlyNotBlank.

@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Jun 14, 2024
@sleberknight sleberknight changed the title Add method in KiwiPreconditions to check String collection contains only non-blank elements Add method in KiwiPreconditions to check that a collection of String contains only non-blank elements Jun 14, 2024
@sleberknight sleberknight added this to the 4.1.0 milestone Jul 1, 2024
@sleberknight sleberknight self-assigned this Jul 1, 2024
sleberknight added a commit that referenced this issue Jul 1, 2024
* Add overloaded checkArgumentContainsOnlyNotNull methods in KiwiPreconditions
  to check collection contains only non-null elements
* Add overloaded checkArgumentContainsOnlyNotBlank methods in KiwiPreconditions
  to check that a collection of String contains only non-blank elements

Closes #1151
Closes #1152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant