Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 62726a1

Browse files
committed
ジェネリクスが有ると話がややこしくなるので修正
1 parent 7e354a7 commit 62726a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mapk/krowmapper/KRowMapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class KRowMapper<T : Any> private constructor(
2222
clazz.toKConstructor(), propertyNameConverter
2323
)
2424

25-
private val parameters: List<ParameterForMap<*>> = function.parameters
25+
private val parameters: List<ParameterForMap> = function.parameters
2626
.filter { it.kind != KParameter.Kind.INSTANCE && !it.isUseDefaultArgument() }
2727
.map { ParameterForMap.newInstance(it, propertyNameConverter) }
2828

0 commit comments

Comments
 (0)