Compare commits

...
Author SHA1 Message Date
deiflaender d71ee17822 Hotfix for duplicate entries in redactionLog 2021-11-30 15:49:29 +01:00
@@ -50,6 +50,14 @@ public class RedactionLogMergeService {
}
Set<String> processedIds = new HashSet<>();
redactionLog.getRedactionLogEntry().removeIf(entry -> {
if(processedIds.contains(entry.getId())){
return true;
}
processedIds.add(entry.getId());
return false;
});
return redactionLog;
}