mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix NPE
This commit is contained in:
parent
17f28c8b55
commit
ce0d834b12
@ -19,13 +19,14 @@
|
||||
package io.entgra.server.bootup.heartbeat.beacon.dto;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ElectedCandidate {
|
||||
|
||||
private String serverUUID;
|
||||
private Timestamp timeOfElection;
|
||||
private List<String> acknowledgedTaskList = null;
|
||||
private List<String> acknowledgedTaskList = new ArrayList<>();
|
||||
|
||||
public List<String> getAcknowledgedTaskList() {
|
||||
return acknowledgedTaskList;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user