Polishing

This commit is contained in:
Juergen Hoeller
2020-08-27 17:13:33 +02:00
parent a8b295c516
commit 71e70aed14
2 changed files with 4 additions and 3 deletions

View File

@@ -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 + "'";

View File

@@ -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
*/ */