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 distinctOrEmpty to KiwiLists; internal refactoring #756

Merged
merged 2 commits into from
Jul 23, 2022

Conversation

sleberknight
Copy link
Member

  • Add distinctOrEmpty to KiwiLists; it returns an empty list when
    given null input, unlike distinctOrNull
  • Refactor the common code to get distinct elements from a collection
    into the private static helper method distinctListFrom

* Add distinctOrEmpty to KiwiLists; it returns an empty list when
  given null input, unlike distinctOrNull
* Refactor the common code to get distinct elements from a collection
  into the private static helper method distinctListFrom
@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Jul 23, 2022
@sleberknight sleberknight self-assigned this Jul 23, 2022
@sleberknight sleberknight added this to the 2.2.0 milestone Jul 23, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sleberknight sleberknight merged commit 54aca01 into master Jul 23, 2022
@sleberknight sleberknight deleted the add_distinctOrEmpty_to_KiwiLists branch July 23, 2022 02:43
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 this pull request may close these issues.

1 participant