Skip to content

Commit 215e7d6

Browse files
committed
Replaced Enum.values with Enum.entries
1 parent d94e3d9 commit 215e7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinFeature.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ enum class KotlinFeature(internal val enabledByDefault: Boolean) {
7272

7373
companion object {
7474
internal val defaults
75-
get() = values().fold(BitSet(Int.SIZE_BITS)) { acc, cur ->
75+
get() = entries.fold(BitSet(Int.SIZE_BITS)) { acc, cur ->
7676
acc.apply { if (cur.enabledByDefault) this.or(cur.bitSet) }
7777
}
7878
}

0 commit comments

Comments
 (0)