diff --git a/spring-test/src/main/java/org/springframework/test/context/bean/override/convention/TestBean.java b/spring-test/src/main/java/org/springframework/test/context/bean/override/convention/TestBean.java index edb843bde75..d4cc67bb7ad 100644 --- a/spring-test/src/main/java/org/springframework/test/context/bean/override/convention/TestBean.java +++ b/spring-test/src/main/java/org/springframework/test/context/bean/override/convention/TestBean.java @@ -36,9 +36,10 @@ import org.springframework.test.context.bean.override.BeanOverride; * *

The instance is created from a zero-argument static factory method in the * test class whose return type is compatible with the annotated field. In the - * case of a nested test class, the enclosing class is also considered. Similarly, - * if the test class extends from a base class or implements any interfaces, the - * entire type hierarchy is considered. The method is deduced as follows. + * case of a nested test class, the enclosing class hierarchy is also considered. + * Similarly, if the test class extends from a base class or implements any + * interfaces, the entire type hierarchy is considered. The method is deduced as + * follows. *