From 409437fbd6d095ce6b6565b602b455ac714b6f35 Mon Sep 17 00:00:00 2001 From: Ali Oezyetimoglu Date: Mon, 24 Apr 2023 19:20:50 +0200 Subject: [PATCH] RED-6098: Changed check for skipped entries in report for not having Ignored Hints and Removed published information --- .../report/v1/server/service/RedactionLogConverterService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/RedactionLogConverterService.java b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/RedactionLogConverterService.java index fa7be26..f71e6ff 100644 --- a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/RedactionLogConverterService.java +++ b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/RedactionLogConverterService.java @@ -82,7 +82,7 @@ public class RedactionLogConverterService { List reportEntries = new ArrayList<>(); redactionLog.getRedactionLogEntry().forEach(entry -> { - var isSkipped = !entry.isRedacted() && !entry.isHint() && !entry.isManuallyRemoved(); + var isSkipped = !entry.isRedacted() && !entry.isHint() && !entry.getType().equals("hint_only") && !entry.getType().equals("published_information"); if (entry.isRedacted() || isSkipped) { if (entry.lastChangeIsRemoved()) {