Skip to content

Commit 7e27175

Browse files
committed
Remove deprecated old constructor
1 parent 2ab7353 commit 7e27175

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@
245245
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
246246
<breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
247247
<excludes>
248+
<!-- public -->
249+
<!-- removed -->
250+
<exclude>
251+
com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException#MissingKotlinParameterException(kotlin.reflect.KParameter,java.io.Closeable,java.lang.String)
252+
</exclude>
248253
</excludes>
249254
</parameter>
250255
</configuration>

src/main/kotlin/com/fasterxml/jackson/module/kotlin/Exceptions.kt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.fasterxml.jackson.module.kotlin
33
import com.fasterxml.jackson.core.JsonParser
44
import com.fasterxml.jackson.databind.JsonMappingException
55
import com.fasterxml.jackson.databind.exc.InvalidNullException
6-
import java.io.Closeable
76
import kotlin.reflect.KParameter
87

98
/**
@@ -31,15 +30,4 @@ class MissingKotlinParameterException(
3130
val parameter: KParameter,
3231
processor: JsonParser? = null,
3332
msg: String
34-
) : InvalidNullException(processor, msg, null) {
35-
@Deprecated(
36-
"Use main constructor, ",
37-
ReplaceWith("MissingKotlinParameterException(KParameter, JsonParser?, String)"),
38-
DeprecationLevel.ERROR,
39-
)
40-
constructor(
41-
parameter: KParameter,
42-
processor: Closeable? = null,
43-
msg: String
44-
) : this(parameter, processor as JsonParser, msg)
45-
}
33+
) : InvalidNullException(processor, msg, null)

0 commit comments

Comments
 (0)