@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2002 - 2019 the original author or authors .
* Copyright 2002 - 2020 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -162,7 +162,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -162,7 +162,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
private static final boolean javaxValidationPresent ;
private static boolean romePresent ;
private static final boolean romePresent ;
private static final boolean jaxb2Present ;
@ -208,7 +208,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -208,7 +208,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
handlerMappingDef . getPropertyValues ( ) . add ( "contentNegotiationManager" , contentNegotiationManager ) ;
if ( element . hasAttribute ( "enable-matrix-variables" ) ) {
B oolean enableMatrixVariables = Boolean . valueOf ( element . getAttribute ( "enable-matrix-variables" ) ) ;
b oolean enableMatrixVariables = Boolean . parseBoolean ( element . getAttribute ( "enable-matrix-variables" ) ) ;
handlerMappingDef . getPropertyValues ( ) . add ( "removeSemicolonContent" , ! enableMatrixVariables ) ;
}
@ -569,7 +569,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
@@ -569,7 +569,7 @@ class AnnotationDrivenBeanDefinitionParser implements BeanDefinitionParser {
}
}
if ( convertersElement = = null | | Boolean . valueOf ( convertersElement . getAttribute ( "register-defaults" ) ) ) {
if ( convertersElement = = null | | Boolean . parseBoolean ( convertersElement . getAttribute ( "register-defaults" ) ) ) {
messageConverters . setSource ( source ) ;
messageConverters . add ( createConverterDefinition ( ByteArrayHttpMessageConverter . class , source ) ) ;