Skip to content

Commit c70cc55

Browse files
committed
Polishing
See gh-9827
1 parent ece66e1 commit c70cc55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
* {@link Conditional} that only matches when the specified bean classes and/or names are
3232
* already contained in the {@link BeanFactory}. When placed on a {@code @Bean} method,
33-
* the bean class default to the return type of the factory method:
33+
* the bean class defaults to the return type of the factory method:
3434
*
3535
* <pre class="code">
3636
* &#064;Configuration

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
* {@link Conditional} that only matches when the specified bean classes and/or names are
3232
* not already contained in the {@link BeanFactory}.
3333
* <p>
34-
* When placed on a {@code @Bean} method, the bean class default to the return type of the
35-
* factory method:
34+
* When placed on a {@code @Bean} method, the bean class defaults to the return type of
35+
* the factory method:
3636
*
3737
* <pre class="code">
3838
* &#064;Configuration

0 commit comments

Comments
 (0)