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 cae089d commit 19e7ea6Copy full SHA for 19e7ea6
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinModule.kt
@@ -140,8 +140,8 @@ class KotlinModule private constructor(
140
bitSet.andNot(feature.bitSet)
141
}
142
143
- fun set(feature: KotlinFeature, state: Boolean) = when {
144
- state -> enable(feature)
+ fun set(feature: KotlinFeature, enabled: Boolean) = when {
+ enabled -> enable(feature)
145
else -> disable(feature)
146
147
0 commit comments