Skip to content

Commit

Permalink
getNew method removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Pester committed Jun 10, 2024
1 parent 6236725 commit d5a0563
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public Collection<ServiceRequest> getAllServiceRequestBySyncStatus(Boolean assig
log.info("Service Request {} has no alarm references and will be removed from list!", sr.getId());
log.info("EventRepresentation as JSON:");
log.info(eventRepresentation.toJSON());
getNew(filter);
debugEventApi.test();
}else{
serviceRequestList.add(sr);
}
Expand All @@ -393,11 +393,6 @@ public Collection<ServiceRequest> getAllServiceRequestBySyncStatus(Boolean assig
return serviceRequestList;
}

private void getNew(EventFilter filter) {
RequestList<ServiceRequest> serviceRequestByFilter = getServiceRequestByFilter(filter, 2000, 1, null);
log.info("GET NEW size: {}", serviceRequestByFilter.getList().size());
}

@Override
public void deleteServiceRequest(String id) {
EventRepresentation eventRepresentation = new EventRepresentation();
Expand Down

0 comments on commit d5a0563

Please sign in to comment.