master
Sam Brannen 13 years ago
parent a77cf0f652
commit 427f31cb9c
  1. 4
      org.springframework.test/src/main/java/org/springframework/test/context/support/AnnotationConfigContextLoader.java

@ -94,7 +94,7 @@ public class AnnotationConfigContextLoader extends AbstractGenericContextLoader
* <li>must be annotated with {@code @Configuration}</li> * <li>must be annotated with {@code @Configuration}</li>
* </ul> * </ul>
* *
* @param clazz the class the check * @param clazz the class to check
* @return <code>true</code> if the supplied class meets the candidate criteria * @return <code>true</code> if the supplied class meets the candidate criteria
*/ */
private boolean isDefaultConfigurationClassCandidate(Class<?> clazz) { private boolean isDefaultConfigurationClassCandidate(Class<?> clazz) {
@ -104,7 +104,7 @@ public class AnnotationConfigContextLoader extends AbstractGenericContextLoader
/** /**
* TODO Document generatesDefaults(). * TODO Document generatesDefaults().
*/ */
// TODO Consider moving to SmartContextLoader SPI. // TODO Consider defining generatesDefaults() in the SmartContextLoader SPI.
protected boolean generatesDefaults() { protected boolean generatesDefaults() {
return true; return true;
} }

Loading…
Cancel
Save