This commit is contained in:
Timo Bejan 2022-03-21 09:54:22 +02:00
parent 91108a7299
commit 1dd190bee8

View File

@ -302,9 +302,8 @@ public class RedactionLogMergeService {
.collect(Collectors.toList());
}
@SuppressWarnings("PMD.UselessParentheses")
private boolean shouldCreateManualEntry(ManualRedactionEntry manualRedactionEntry) {
return (!manualRedactionEntry.isAddToDictionary() && !manualRedactionEntry.isAddToDossierDictionary())
|| ((manualRedactionEntry.isAddToDictionary() || manualRedactionEntry.isAddToDictionary()) && manualRedactionEntry.getProcessedDate() == null);
}