Skip to content

Commit

Permalink
modify the position of parseConfigMap.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristaZero committed Jul 19, 2018
1 parent ec6eb6b commit b7b4021
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ private AbstractBeanDefinition getSpringMasterSlaveDataSourceBean(final Element
factory.addConstructorArgValue(parseId(element));
factory.addConstructorArgValue(parseMasterDataSourceRef(element));
factory.addConstructorArgValue(parseSlaveDataSourcesRef(element));
factory.addConstructorArgValue(parseConfigMap(element, parserContext, factory.getBeanDefinition()));
factory.addConstructorArgValue(parseProperties(element, parserContext));
String strategyRef = parseStrategyRef(element);
if (!Strings.isNullOrEmpty(strategyRef)) {
factory.addConstructorArgReference(strategyRef);
} else {
factory.addConstructorArgValue(parseStrategyType(element));
}
factory.addConstructorArgValue(parseConfigMap(element, parserContext, factory.getBeanDefinition()));
factory.addConstructorArgValue(parseProperties(element, parserContext));
return factory.getBeanDefinition();
}

Expand Down

0 comments on commit b7b4021

Please sign in to comment.