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 e031571..6b5d3ef 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 @@ -29,9 +29,7 @@ import com.iqser.red.storage.commons.exception.StorageObjectDoesNotExist; import io.micrometer.core.annotation.Timed; import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; -@Slf4j @Service @RequiredArgsConstructor public class RedactionLogConverterService { @@ -88,16 +86,9 @@ public class RedactionLogConverterService { List reportEntries = new ArrayList<>(); -// try { -// var dossier = dossierClient.getDossierById(dossierId, false, false); -// } catch (NullPointerException e) { -// throw new -// } var allTypes = dictionaryClient.getAllTypesForDossierTemplate(dossierClient.getDossierById(dossierId, false, false).getDossierTemplateId(), false); - log.info("AAAA: {}", allTypes); redactionLog.getRedactionLogEntry().forEach(entry -> { - log.info("BBBB: {}, {}", entry.getType(), allTypes); var isSkipped = !entry.isRedacted() && !entry.isHint() && !isHintType(allTypes, entry.getType()); if (entry.isRedacted() || isSkipped) { @@ -223,8 +214,6 @@ public class RedactionLogConverterService { var matchingTypes = getMatchingTypes(types, type); Optional foundType = matchingTypes.stream().findFirst(); - log.info("CCCC: {}, {}", foundType, matchingTypes); - log.info("DDDD: {}", foundType.map(Type::isHint).orElse(false)); return foundType.map(Type::isHint).orElse(false); }