Skip to content

Commit 0269eb8

Browse files
committed
Fix typo and improve Javadoc for ConfigurationBeanNameGenerator
1 parent 9cedcd6 commit 0269eb8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

spring-context/src/main/java/org/springframework/context/annotation/ConfigurationBeanNameGenerator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ public interface ConfigurationBeanNameGenerator extends BeanNameGenerator {
3737

3838
/**
3939
* Derive a default bean name for the given {@link Bean @Bean} method,
40-
* providing the {@link Bean#name() name} attribute specified.
40+
* taking into account the specified {@link Bean#name() name} attribute.
4141
* @param beanMethod the method metadata for the {@link Bean @Bean} method
42-
* @param beanName the {@link Bean#name() name} attribute or {@code null} if non is specified
42+
* @param beanName the {@link Bean#name() name} attribute or {@code null} if
43+
* none is specified
4344
* @return the default bean name to use
4445
*/
4546
String deriveBeanName(MethodMetadata beanMethod, @Nullable String beanName);

0 commit comments

Comments
 (0)