Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,26 @@ public class MainEventBusProcessor implements Runnable {
*/
private volatile @Nullable java.util.concurrent.Executor pushNotificationExecutor = null;

private final MainEventBus eventBus;
private MainEventBus eventBus;

private final TaskStore taskStore;
private TaskStore taskStore;

private final PushNotificationSender pushSender;
private PushNotificationSender pushSender;

private final QueueManager queueManager;
private QueueManager queueManager;

private volatile boolean running = true;
private @Nullable Thread processorThread;

/**
* No-arg constructor for CDI proxying.
* CDI requires this for @ApplicationScoped beans.
* Fields are initialized via the @Inject constructor.
*/
@SuppressWarnings("NullAway")
protected MainEventBusProcessor() {
}

@Inject
public MainEventBusProcessor(MainEventBus eventBus, TaskStore taskStore, PushNotificationSender pushSender, QueueManager queueManager) {
this.eventBus = eventBus;
Expand Down