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 {
this.beanDefinitionName = beanDefinitionName; this.beanDefinitionName = beanDefinitionName;
} }
@Override @Override
public String toString() { public String toString() {
return "Bean '" + this.beanDefinitionName + "'"; 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
* Factory method for creating the {@link GenericApplicationContext} used by * Factory method for creating the {@link GenericApplicationContext} used by
* this {@code ContextLoader}. * this {@code ContextLoader}.
* <p>The default implementation creates a {@code GenericApplicationContext} * <p>The default implementation creates a {@code GenericApplicationContext}
* using the default constructor. This method may be overridden in subclasses * using the default constructor. This method may get overridden e.g. to use
* &mdash; for example, to create a {@code GenericApplicationContext} with * a custom context subclass or to create a {@code GenericApplicationContext}
* a custom {@link DefaultListableBeanFactory} implementation. * with a custom {@link DefaultListableBeanFactory} implementation.
* @return a newly instantiated {@code GenericApplicationContext} * @return a newly instantiated {@code GenericApplicationContext}
* @since 5.2.9 * @since 5.2.9
*/ */

Loading…
Cancel
Save