|
|
@ -377,8 +377,7 @@ public class GenericOperationDAOImpl implements OperationDAO {
|
|
|
|
for (ActivityStatus status : activityStatuses) {
|
|
|
|
for (ActivityStatus status : activityStatuses) {
|
|
|
|
if (deviceOpRes.getKey().equalsIgnoreCase(status.getDeviceIdentifier().getId())) {
|
|
|
|
if (deviceOpRes.getKey().equalsIgnoreCase(status.getDeviceIdentifier().getId())) {
|
|
|
|
if (status.getResponses() == null) {
|
|
|
|
if (status.getResponses() == null) {
|
|
|
|
List<OperationResponse> responses = new ArrayList<>();
|
|
|
|
status.setResponses(new ArrayList<>());
|
|
|
|
status.setResponses(responses);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
status.getResponses().addAll(deviceOpRes.getValue());
|
|
|
|
status.getResponses().addAll(deviceOpRes.getValue());
|
|
|
|
}
|
|
|
|
}
|
|
|
|