Fix Kotlin warnings

This commit is contained in:
Sebastien Deleuze
2017-03-10 10:35:30 +01:00
parent 813d3efe61
commit 9963c4a495
6 changed files with 11 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ fun <T : Any> BeanFactory.getBean(name: String, requiredType: KClass<T>) =
* @author Sebastien Deleuze
* @since 5.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> BeanFactory.getBean(name: String) =
getBean(name, T::class.java)