Skip to content

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

Merged
arnaudgiuliani merged 5 commits into
InsertKoinIO:4.0.1from
GrzegorzBobryk:maintenance/replace-listof-with-emptylist
Nov 15, 2024
Merged

[Maintenance] replace listOf() with emptyList()#1993
arnaudgiuliani merged 5 commits into
InsertKoinIO:4.0.1from
GrzegorzBobryk:maintenance/replace-listof-with-emptylist

Conversation

@GrzegorzBobryk

@GrzegorzBobryk GrzegorzBobryk commented Sep 22, 2024

Copy link
Copy Markdown
Contributor

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
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