Skip to content

Commit 966ca17

Browse files
committed
Fixed to use appropriate receiver
Fixed a problem in which multiple calls could not be made because a more specific receiver was improperly specified.
1 parent 62da013 commit 966ca17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package tools.jackson.module.kotlin
22

33
import com.fasterxml.jackson.annotation.JsonCreator
4-
import tools.jackson.databind.DatabindException
4+
import tools.jackson.core.JacksonException
55
import java.lang.invoke.MethodHandle
66
import java.lang.invoke.MethodHandles
77
import java.lang.invoke.MethodType
@@ -18,8 +18,8 @@ internal val defaultConstructorMarker: Class<*> by lazy {
1818
Class.forName("kotlin.jvm.internal.DefaultConstructorMarker")
1919
}
2020

21-
internal fun DatabindException.wrapWithPath(refFrom: Any?, refFieldName: String) = DatabindException.wrapWithPath(this, refFrom, refFieldName)
22-
internal fun DatabindException.wrapWithPath(refFrom: Any?, index: Int) = DatabindException.wrapWithPath(this, refFrom, index)
21+
internal fun JacksonException.wrapWithPath(refFrom: Any?, refFieldName: String) = JacksonException.wrapWithPath(this, refFrom, refFieldName)
22+
internal fun JacksonException.wrapWithPath(refFrom: Any?, index: Int) = JacksonException.wrapWithPath(this, refFrom, index)
2323

2424
internal fun Int.toBitSet(): BitSet {
2525
var i = this

0 commit comments

Comments
 (0)