@ -42,10 +42,12 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@@ -42,10 +42,12 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@ -88,6 +90,7 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@@ -88,6 +90,7 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@ -114,10 +117,12 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@@ -114,10 +117,12 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@ -125,7 +130,7 @@ final class MapToMapConverter implements ConditionalGenericConverter {
@@ -125,7 +130,7 @@ final class MapToMapConverter implements ConditionalGenericConverter {
Assert.notNull(instanceOrder,"InstanceOrder must not be null");
Assert.notNull(instanceOrder,"'instanceOrder' must not be null");
this.instanceOrder=instanceOrder;
}
@ -61,13 +60,13 @@ public class InstanceComparator<T> implements Comparator<T> {
@@ -61,13 +60,13 @@ public class InstanceComparator<T> implements Comparator<T> {
@ -73,26 +73,34 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@@ -73,26 +73,34 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@ -341,12 +349,8 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@@ -341,12 +349,8 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@ -355,18 +359,19 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@@ -355,18 +359,19 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
logger.warn("Error while retrieving metadata for procedure columns: "+ex);
if(logger.isWarnEnabled()){
logger.warn("Error while retrieving metadata for procedure columns: "+ex);
}
}
finally{
try{
@ -375,7 +380,9 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
@@ -375,7 +380,9 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
}
}
catch(SQLExceptionex){
logger.warn("Problem closing ResultSet for procedure column metadata: "+ex);
if(logger.isWarnEnabled()){
logger.warn("Problem closing ResultSet for procedure column metadata: "+ex);
@ -68,8 +68,8 @@ public abstract class AnnotationConfigContextLoaderUtils {
@@ -68,8 +68,8 @@ public abstract class AnnotationConfigContextLoaderUtils {
else{
if(logger.isDebugEnabled()){
logger.debug(String.format(
"Ignoring class [%s]; it must be static, non-private, non-final, and annotated "
+"with @Configuration to be considered a default configuration class.",
"Ignoring class [%s]; it must be static, non-private, non-final, and annotated "+
"with @Configuration to be considered a default configuration class.",
candidate.getName()));
}
}
@ -77,9 +77,9 @@ public abstract class AnnotationConfigContextLoaderUtils {
@@ -77,9 +77,9 @@ 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 "
+"annotated with @Configuration.",declaringClass.getName(),declaringClass.getSimpleName()));
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 "+
"annotated with @Configuration.",declaringClass.getName(),declaringClass.getSimpleName()));
@ -47,14 +47,13 @@ final class SimpleStreamingClientHttpRequest extends AbstractClientHttpRequest {
@@ -47,14 +47,13 @@ final class SimpleStreamingClientHttpRequest extends AbstractClientHttpRequest {
@ -173,20 +176,14 @@ public class ControllerAdviceBean implements Ordered {
@@ -173,20 +176,14 @@ public class ControllerAdviceBean implements Ordered {
@ -616,7 +616,7 @@ final class HierarchicalUriComponents extends UriComponents {
@@ -616,7 +616,7 @@ final class HierarchicalUriComponents extends UriComponents {
@ -103,7 +103,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@@ -103,7 +103,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@ -161,7 +161,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
@@ -161,7 +161,7 @@ public final class ProducesRequestCondition extends AbstractRequestCondition<Pro
stringHttpMessageConverter.setWriteAcceptCharset(false);// See SPR-7316
@ -106,6 +102,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -106,6 +102,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -194,7 +191,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -194,7 +191,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -223,7 +220,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -223,7 +220,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -231,6 +228,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -231,6 +228,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
returnthis.applicationContext;
}
@Override
publicvoidafterPropertiesSet(){
if(this.argumentResolvers==null){
@ -315,6 +313,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -315,6 +313,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -340,7 +339,9 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -340,7 +339,9 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
logger.error("Failed to invoke @ExceptionHandler method: "+exceptionHandlerMethod,invocationEx);
if(logger.isErrorEnabled()){
logger.error("Failed to invoke @ExceptionHandler method: "+exceptionHandlerMethod,invocationEx);
}
returnnull;
}
@ -363,12 +364,13 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -363,12 +364,13 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -380,6 +382,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -380,6 +382,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@ -389,6 +392,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
@@ -389,6 +392,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce