Pull request #154: RED-1477: Fixed duplicate images
Merge in RED/redaction-service from RED-1477 to master * commit 'bdf40f5e4eec9984306516790eb8c4eb106b0aa1': RED-1477: Fixed duplicate images
This commit is contained in:
commit
b16b56daf1
@ -237,8 +237,7 @@ public class ReanalyzeService {
|
||||
}
|
||||
|
||||
redactionLog.getRedactionLogEntry()
|
||||
.removeIf(entry -> sectionsToReanalyse.contains(entry.getSectionNumber()) && !entry.isImage() || entry.getSectionNumber() == 0 && !entry
|
||||
.isImage());
|
||||
.removeIf(entry -> sectionsToReanalyse.contains(entry.getSectionNumber()));
|
||||
redactionLog.getRedactionLogEntry().addAll(newRedactionLogEntries);
|
||||
return finalizeAnalysis(analyzeRequest, startTime, redactionLog, text, dictionaryIncrement);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user