refactoring

pull/3826/head
Nikita Koksharov 3 years ago
parent fab99cd02a
commit 4662dab714

@ -77,7 +77,9 @@ public final class WorkerOptions {
*/
public WorkerOptions beanFactory(BeanFactory beanFactory) {
this.beanFactory = beanFactory;
if (beanFactory != null) {
this.tasksInjector = new SpringTasksInjector(beanFactory);
}
return this;
}

Loading…
Cancel
Save