File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,9 @@ class KotlinModule private constructor(
4343 val nullIsSameAsDefault : Boolean = NullIsSameAsDefault .enabledByDefault,
4444 val singletonSupport : Boolean = SingletonSupport .enabledByDefault,
4545 val strictNullChecks : Boolean = StrictNullChecks .enabledByDefault,
46- @Deprecated(
47- level = DeprecationLevel .ERROR ,
48- message = " There was a discrepancy between the property name and the Feature name." +
49- " To migrate to the correct property name, it will be ERROR in 2.18 and removed in 2.19." ,
50- replaceWith = ReplaceWith (" kotlinPropertyNameAsImplicitName" )
51- )
52- val useKotlinPropertyNameForGetter : Boolean = KotlinPropertyNameAsImplicitName .enabledByDefault,
46+ val kotlinPropertyNameAsImplicitName : Boolean = KotlinPropertyNameAsImplicitName .enabledByDefault,
5347 val useJavaDurationConversion : Boolean = UseJavaDurationConversion .enabledByDefault,
5448) : SimpleModule(KotlinModule : :class.java.name, PackageVersion .VERSION ) {
55- @Suppress(" DEPRECATION_ERROR" )
56- val kotlinPropertyNameAsImplicitName: Boolean get() = useKotlinPropertyNameForGetter
57-
5849 /*
5950 * Prior to 2.18, an older Enum called SingletonSupport was used to manage feature.
6051 * To deprecate it and replace it with singletonSupport: Boolean, the following steps are in progress.
You can’t perform that action at this time.
0 commit comments