RED-7400: engines will be empty set if null

This commit is contained in:
Ali Oezyetimoglu 2023-08-16 18:15:09 +02:00
parent 09e4d4f9fa
commit 3313b7c16d

View File

@ -111,7 +111,7 @@ public class RedactionLogCreatorService {
.startOffset(entity.getBoundary().start())
.endOffset(entity.getBoundary().end())
.isDossierDictionaryEntry(entity.isDossierDictionaryEntry())
.engines(entity.getEngines())
.engines(entity.getEngines() != null ? entity.getEngines() : Collections.emptySet())
.reference(referenceIds)
.build();
}