File tree Expand file tree Collapse file tree
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments