Merge branch '2.0.x'
This commit is contained in:
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…
Reference in New Issue