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

Commit 0d3aecb

Browse files
committed
余計なジェネリクス指定を削除
1 parent e988927 commit 0d3aecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mapk/core/Functions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ inline fun <reified A : Annotation> KClass<*>.getAnnotatedFunctionsFromCompanion
1818
}
1919
}
2020

21-
inline fun <reified A : Annotation, T : Any> Collection<KFunction<T>>.getAnnotatedFunctions(): List<KFunction<T>> {
21+
inline fun <reified A : Annotation, T> Collection<KFunction<T>>.getAnnotatedFunctions(): List<KFunction<T>> {
2222
return filter { function -> function.annotations.any { it is A } }
2323
}

0 commit comments

Comments
 (0)