RED-5981 remove from dictionary pending analhysis

This commit is contained in:
Timo Bejan 2023-01-15 16:05:21 +08:00
parent 53a375b832
commit d2eeaa91a6

View File

@ -257,11 +257,11 @@ public class RedactionLogMergeService {
if (manualOverrideReason != null) {
redactionLogEntry.setReason(manualOverrideReason);
}
redactionLogEntry.getManualChanges()
.add(ManualChange.from(manualRemoval)
.withManualRedactionType(manualRemoval.isRemoveFromDictionary() ? ManualRedactionType.REMOVE_FROM_DICTIONARY : ManualRedactionType.REMOVE_LOCALLY));
}
redactionLogEntry.getManualChanges()
.add(ManualChange.from(manualRemoval)
.withManualRedactionType(manualRemoval.isRemoveFromDictionary() ? ManualRedactionType.REMOVE_FROM_DICTIONARY : ManualRedactionType.REMOVE_LOCALLY));
}
if (mrw.getItem() instanceof ManualForceRedaction) {