From c5a092990de0907c4e49df7b22933197208868c2 Mon Sep 17 00:00:00 2001 From: Ali Oezyetimoglu Date: Wed, 30 Nov 2022 17:45:46 +0100 Subject: [PATCH] RED-5473: try to get redaction value --- .../v1/server/service/ExcelReportGenerationService.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ExcelReportGenerationService.java b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ExcelReportGenerationService.java index b59ca22..a92c017 100644 --- a/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ExcelReportGenerationService.java +++ b/redaction-report-service-v1/redaction-report-service-server-v1/src/main/java/com/iqser/red/service/redaction/report/v1/server/service/ExcelReportGenerationService.java @@ -383,9 +383,10 @@ public class ExcelReportGenerationService { return input -> input.getEntry().getExcerpt(); } if (placeholder.equals(REDACTION_VALUE_PLACEHOLDER)) { -// return input -> input.getEntry().getValue() != null ? input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " ") : ""; - //TODO: comment in above and delete down - return input -> input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " "); + // TODO: remove 2 lines + Function aa = input -> input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " "); + log.info("REDACTION_VALUE: {}", aa); + return input -> input.getEntry().getValue() != null ? input.getEntry().getValue().replaceAll("\n", " ").replaceAll(" ", " ") : ""; } if (placeholder.equals(REDACTION_ENTITY_DISPLAY_NAME_PLACEHOLDER)) { return input -> input.getEntry().getEntityDisplayName();