diff --git a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ReportGenerationService.java b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ReportGenerationService.java index ed3bcf1..fd1ff84 100644 --- a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ReportGenerationService.java +++ b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ReportGenerationService.java @@ -206,17 +206,7 @@ public class ReportGenerationService { RedactionLog redactionLog; try { redactionLog = redactionLogClient.getRedactionLog(dossierId, fileId, new ArrayList<>(), true, false); - - //filter DECLINED redactions out, they should not be in reports - Iterator iter = redactionLog.getRedactionLogEntry().iterator(); - while (iter.hasNext()) { - RedactionLogEntry redactionLogEntry = iter.next(); - for (ManualChange manualChange : redactionLogEntry.getManualChanges()) { - if (manualChange.getAnnotationStatus().equals(AnnotationStatus.DECLINED)) { - iter.remove(); - } - } - } + } catch (StorageObjectDoesNotExist e) { return new ArrayList<>(); }