polishing

This commit is contained in:
Sam Brannen 2011-06-19 17:40:08 +00:00
parent a77cf0f652
commit 427f31cb9c
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }