Refer to static nested classes, not static inner classes
Various parts of the reference manual as well as the Javadoc for
AnnotationConfigContextLoaderUtils improperly refer to "static inner
classes" even though this terminology does not exist in Java. The Java
Language Specification explicitly refers to such classes as "static
nested classes." An "inner class" must be non-static by definition.
@ -41,7 +41,7 @@ public abstract class AnnotationConfigContextLoaderUtils {
@@ -41,7 +41,7 @@ public abstract class AnnotationConfigContextLoaderUtils {
@ -78,7 +78,7 @@ public abstract class AnnotationConfigContextLoaderUtils {
@@ -78,7 +78,7 @@ public abstract class AnnotationConfigContextLoaderUtils {
if(configClasses.isEmpty()){
if(logger.isInfoEnabled()){
logger.info(String.format("Could not detect default configuration classes for test class [%s]: "+
"%s does not declare any static, non-private, non-final, inner classes "+
"%s does not declare any static, non-private, non-final, nested classes "+
"annotated with @Configuration.",declaringClass.getName(),declaringClass.getSimpleName()));