@@ -402,11 +402,11 @@ private void processPropertyPlaceHolders() {
402
402
403
403
PropertyValues values = mapperScannerBean .getPropertyValues ();
404
404
405
- this .basePackage = updatePropertyValue ("basePackage" , values );
406
- this .sqlSessionFactoryBeanName = updatePropertyValue ("sqlSessionFactoryBeanName" , values );
407
- this .sqlSessionTemplateBeanName = updatePropertyValue ("sqlSessionTemplateBeanName" , values );
408
- this .lazyInitialization = updatePropertyValue ("lazyInitialization" , values );
409
- this .defaultScope = updatePropertyValue ("defaultScope" , values );
405
+ this .basePackage = getPropertyValue ("basePackage" , values );
406
+ this .sqlSessionFactoryBeanName = getPropertyValue ("sqlSessionFactoryBeanName" , values );
407
+ this .sqlSessionTemplateBeanName = getPropertyValue ("sqlSessionTemplateBeanName" , values );
408
+ this .lazyInitialization = getPropertyValue ("lazyInitialization" , values );
409
+ this .defaultScope = getPropertyValue ("defaultScope" , values );
410
410
}
411
411
this .basePackage = Optional .ofNullable (this .basePackage ).map (getEnvironment ()::resolvePlaceholders ).orElse (null );
412
412
this .sqlSessionFactoryBeanName = Optional .ofNullable (this .sqlSessionFactoryBeanName )
@@ -422,7 +422,7 @@ private Environment getEnvironment() {
422
422
return this .applicationContext .getEnvironment ();
423
423
}
424
424
425
- private String updatePropertyValue (String propertyName , PropertyValues values ) {
425
+ private String getPropertyValue (String propertyName , PropertyValues values ) {
426
426
PropertyValue property = values .getPropertyValue (propertyName );
427
427
428
428
if (property == null ) {
0 commit comments