hotfix: filter entities with empty value in redactionLog and entityLog
This commit is contained in:
parent
03f43f4408
commit
2d93437812
@ -240,6 +240,7 @@ public class AnalyzeService {
|
||||
newRedactionLogEntries,
|
||||
false);
|
||||
|
||||
previousRedactionLog.setRedactionLogEntry(previousRedactionLog.getRedactionLogEntry().stream().filter(entity -> !entity.getValue().isEmpty()).collect(Collectors.toList()));
|
||||
previousRedactionLog.getRedactionLogEntry()
|
||||
.removeIf(entry -> sectionsToReanalyseIds.contains(entry.getSectionNumber()) && !entry.getType().equals(ImportedRedactionService.IMPORTED_REDACTION_TYPE));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user