diff --git a/spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt b/spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt index bc0edd4948b..00ed65c2527 100644 --- a/spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt +++ b/spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ inline fun ListableBeanFactory.getBeansOfType(includeNonSingle /** * Extension for [ListableBeanFactory.getBeanNamesForAnnotation] providing a - * `getBeansOfType()` variant. + * `getBeanNamesForAnnotation()` variant. * * @author Sebastien Deleuze * @since 5.0