Merge branch '2.0.x'

pull/12597/merge
Stephane Nicoll 7 years ago
commit 463e11ab2b

@ -145,7 +145,7 @@ public class QuartzAutoConfiguration {
}
private DataSource getDataSource(DataSource dataSource,
@QuartzDataSource ObjectProvider<DataSource> quartzDataSource) {
ObjectProvider<DataSource> quartzDataSource) {
DataSource dataSourceIfAvailable = quartzDataSource.getIfAvailable();
return (dataSourceIfAvailable != null ? dataSourceIfAvailable : dataSource);
}

Loading…
Cancel
Save