Add a missing return

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

See gh-7193
This commit is contained in:
Johnny Lim 2016-10-20 11:07:21 +09:00 committed by Stephane Nicoll
parent 74d3a6616b
commit 0b5fbbedf4
1 changed files with 1 additions and 0 deletions

View File

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