Add a missing return

This commit adds a missing`return` in `getDataSourceBeanDefinition()`.

See gh-7193
pull/7262/head
Johnny Lim 8 years ago committed by Stephane Nicoll
parent 74d3a6616b
commit 0b5fbbedf4

@ -118,6 +118,7 @@ public class TestDatabaseAutoConfiguration {
if (ObjectUtils.isEmpty(beanNames)) { if (ObjectUtils.isEmpty(beanNames)) {
logger.warn("No DataSource beans found, " logger.warn("No DataSource beans found, "
+ "embedded version will not be used"); + "embedded version will not be used");
return null;
} }
if (beanNames.length == 1) { if (beanNames.length == 1) {
String beanName = beanNames[0]; String beanName = beanNames[0];

Loading…
Cancel
Save