Browse Source

Polishing

pull/25798/head
Juergen Hoeller 5 years ago
parent
commit
71e70aed14
  1. 1
      spring-beans/src/main/java/org/springframework/beans/factory/parsing/BeanEntry.java
  2. 6
      spring-test/src/main/java/org/springframework/test/context/support/AbstractGenericContextLoader.java

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

@ -35,6 +35,7 @@ public class BeanEntry implements ParseState.Entry { @@ -35,6 +35,7 @@ public class BeanEntry implements ParseState.Entry {
this.beanDefinitionName = beanDefinitionName;
}
@Override
public String toString() {
return "Bean '" + this.beanDefinitionName + "'";

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

@ -200,9 +200,9 @@ public abstract class AbstractGenericContextLoader extends AbstractContextLoader @@ -200,9 +200,9 @@ public abstract class AbstractGenericContextLoader extends AbstractContextLoader
* Factory method for creating the {@link GenericApplicationContext} used by
* this {@code ContextLoader}.
* <p>The default implementation creates a {@code GenericApplicationContext}
* using the default constructor. This method may be overridden in subclasses
* &mdash; for example, to create a {@code GenericApplicationContext} with
* a custom {@link DefaultListableBeanFactory} implementation.
* using the default constructor. This method may get overridden e.g. to use
* a custom context subclass or to create a {@code GenericApplicationContext}
* with a custom {@link DefaultListableBeanFactory} implementation.
* @return a newly instantiated {@code GenericApplicationContext}
* @since 5.2.9
*/

Loading…
Cancel
Save