We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d94e3d9 commit 215e7d6Copy full SHA for 215e7d6
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinFeature.kt
@@ -72,7 +72,7 @@ enum class KotlinFeature(internal val enabledByDefault: Boolean) {
72
73
companion object {
74
internal val defaults
75
- get() = values().fold(BitSet(Int.SIZE_BITS)) { acc, cur ->
+ get() = entries.fold(BitSet(Int.SIZE_BITS)) { acc, cur ->
76
acc.apply { if (cur.enabledByDefault) this.or(cur.bitSet) }
77
}
78
0 commit comments