Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Feb 7, 2024
1 parent 40f1c56 commit 30b3d64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum class DatasetImportStatus(val value: String) {
companion object {
@JvmStatic
fun fromString(value: String): DatasetImportStatus {
for (enum in values())
for (enum in entries)
if (enum.value == value)
return enum

Expand Down

0 comments on commit 30b3d64

Please sign in to comment.