Skip to content

Commit 62da013

Browse files
authored
Merge pull request #1019 from k163377/remove-old
Remove deprecated class
2 parents f879758 + c8a59d2 commit 62da013

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/kotlin/tools/jackson/module/kotlin/KotlinSerializers.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ object ULongSerializer : StdSerializer<ULong>(ULong::class.java) {
4444
}
4545
}
4646

47-
@Deprecated(
48-
message = "This class was published by mistake. It will be removed in `2.22.0` as it is no longer used internally.",
49-
level = DeprecationLevel.WARNING
50-
)
51-
object ValueClassUnboxSerializer : StdSerializer<Any>(Any::class.java) {
52-
override fun serialize(value: Any, gen: JsonGenerator, ctxt: SerializationContext) {
53-
val unboxed = value::class.java.getMethod("unbox-impl").invoke(value)
54-
ctxt.writeValue(gen, unboxed)
55-
}
56-
}
57-
5847
// Class must be UnboxableValueClass.
5948
private fun Class<*>.getStaticJsonValueGetter(): Method? = this.declaredMethods.find { method ->
6049
Modifier.isStatic(method.modifiers) && method.annotations.any { it is JsonValue && it.value }

0 commit comments

Comments
 (0)