Skip to content

Commit 33b46ba

Browse files
committed
Remove variables that are no longer in use by external parties
1 parent ae409d4 commit 33b46ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
package com.fasterxml.jackson.module.kotlin
22

33
import kotlin.reflect.KFunction
4-
import kotlin.reflect.KParameter
54
import kotlin.reflect.full.extensionReceiverParameter
65
import kotlin.reflect.full.instanceParameter
76
import kotlin.reflect.jvm.isAccessible
87

98
internal class MethodValueCreator<T> private constructor(
109
override val callable: KFunction<T>,
1110
override val accessible: Boolean,
12-
val companionObjectInstance: Any
11+
companionObjectInstance: Any
1312
) : ValueCreator<T>() {
14-
val instanceParameter: KParameter = callable.instanceParameter!!
1513
override val bucketGenerator: BucketGenerator =
1614
BucketGenerator.forMethod(callable.parameters, companionObjectInstance)
1715

0 commit comments

Comments
 (0)