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

[Maintenance] replace listOf() with emptyList() #1993

Conversation

GrzegorzBobryk
Copy link
Contributor

@GrzegorzBobryk GrzegorzBobryk commented Sep 22, 2024

Refactored code to use emptyList() instead of listOf() for empty list initialization to improve readability. Also usage of .orEmpty() instead of elvis operator in safe declarations.

@GrzegorzBobryk GrzegorzBobryk force-pushed the maintenance/replace-listof-with-emptylist branch from c79273a to f78659b Compare October 27, 2024 20:50
Refactored code to use `emptyList()` instead of `listOf()` for empty list initialization to improve readability.
`orEmpty` instead of elvis operator
@arnaudgiuliani arnaudgiuliani changed the base branch from main to 4.0.1 November 6, 2024 16:28
@arnaudgiuliani arnaudgiuliani merged commit 1fd7c85 into InsertKoinIO:4.0.1 Nov 15, 2024
6 checks passed
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.

3 participants