File tree Expand file tree Collapse file tree 5 files changed +6
-23
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 5 files changed +6
-23
lines changed Original file line number Diff line number Diff line change 252
252
<excludes >
253
253
<!-- public -->
254
254
<!-- removed -->
255
+ <exclude >
256
+ com.fasterxml.jackson.module.kotlin.KotlinModule#getEnabledSingletonSupport()
257
+ </exclude >
255
258
<exclude >com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException</exclude >
256
259
<!-- internal -->
257
260
<exclude >
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Contributors:
18
18
# 2 .21.0 (not yet released)
19
19
20
20
WrongWrong (@k163377 )
21
+ * #1043 : Cleanup of deprecated contents
21
22
* #1042 : Remove old StrictNullChecks
22
23
* #1041 : Remove MissingKotlinParameterException
23
24
* #1039 : Update settings for 2.20
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Co-maintainers:
18
18
19
19
2.21 .0 (not yet released )
20
20
21
+ #1043 : Deprecated content has been cleaned up with the version upgrade .
21
22
#1042 : The old StrictNullChecks backend has been removed .
22
23
This improves the throughput of deserialization slightly .
23
24
#1041 : The deprecated MissingKotlinParameterException has been removed .
Original file line number Diff line number Diff line change @@ -48,24 +48,6 @@ class KotlinModule private constructor(
48
48
val useJavaDurationConversion : Boolean = UseJavaDurationConversion .enabledByDefault,
49
49
newStrictNullChecks : Boolean = NewStrictNullChecks .enabledByDefault,
50
50
) : SimpleModule(KotlinModule : :class.java.name, PackageVersion .VERSION ) {
51
- /*
52
- * Prior to 2.18, an older Enum called SingletonSupport was used to manage feature.
53
- * To deprecate it and replace it with singletonSupport: Boolean, the following steps are in progress.
54
- *
55
- * 1. add enabledSingletonSupport: Boolean property
56
- * 2. delete SingletonSupport class and change the property to singletonSupport: Boolean
57
- * 3. remove the enabledSingletonSupport property
58
- *
59
- * Now that 2 is complete, deprecation is in progress for 3.
60
- */
61
- @Deprecated(
62
- level = DeprecationLevel .ERROR ,
63
- message = " This property is scheduled to be removed in 2.21 or later" +
64
- " in order to unify the use of KotlinFeature." ,
65
- replaceWith = ReplaceWith (" singletonSupport" )
66
- )
67
- val enabledSingletonSupport: Boolean get() = singletonSupport
68
-
69
51
// To reduce the amount of destructive changes, no properties will be added to the public.
70
52
val strictNullChecks: Boolean = if (strictNullChecks) {
71
53
if (newStrictNullChecks) {
Original file line number Diff line number Diff line change @@ -48,11 +48,7 @@ object ULongSerializer : StdSerializer<ULong>(ULong::class.java) {
48
48
}
49
49
}
50
50
51
- @Deprecated(
52
- message = " This class was published by mistake. It will be removed in `2.22.0` as it is no longer used internally." ,
53
- level = DeprecationLevel .WARNING
54
- )
55
- object ValueClassUnboxSerializer : StdSerializer<Any>(Any : :class.java) {
51
+ internal object ValueClassUnboxSerializer : StdSerializer<Any>(Any : :class.java) {
56
52
private fun readResolve (): Any = ValueClassUnboxSerializer
57
53
58
54
override fun serialize (value : Any , gen : JsonGenerator , provider : SerializerProvider ) {
You can’t perform that action at this time.
0 commit comments