Skip to content

Commit 71e70ae

Browse files
committed
Polishing
1 parent a8b295c commit 71e70ae

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/parsing/BeanEntry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public BeanEntry(String beanDefinitionName) {
3535
this.beanDefinitionName = beanDefinitionName;
3636
}
3737

38+
3839
@Override
3940
public String toString() {
4041
return "Bean '" + this.beanDefinitionName + "'";

spring-test/src/main/java/org/springframework/test/context/support/AbstractGenericContextLoader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ public final ConfigurableApplicationContext loadContext(String... locations) thr
200200
* Factory method for creating the {@link GenericApplicationContext} used by
201201
* this {@code ContextLoader}.
202202
* <p>The default implementation creates a {@code GenericApplicationContext}
203-
* using the default constructor. This method may be overridden in subclasses
204-
* &mdash; for example, to create a {@code GenericApplicationContext} with
205-
* a custom {@link DefaultListableBeanFactory} implementation.
203+
* using the default constructor. This method may get overridden e.g. to use
204+
* a custom context subclass or to create a {@code GenericApplicationContext}
205+
* with a custom {@link DefaultListableBeanFactory} implementation.
206206
* @return a newly instantiated {@code GenericApplicationContext}
207207
* @since 5.2.9
208208
*/

0 commit comments

Comments
 (0)