RED-1477: Fixed duplicate images
This commit is contained in:
parent
e281ab98fa
commit
bdf40f5e4e
@ -237,8 +237,7 @@ public class ReanalyzeService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
redactionLog.getRedactionLogEntry()
|
redactionLog.getRedactionLogEntry()
|
||||||
.removeIf(entry -> sectionsToReanalyse.contains(entry.getSectionNumber()) && !entry.isImage() || entry.getSectionNumber() == 0 && !entry
|
.removeIf(entry -> sectionsToReanalyse.contains(entry.getSectionNumber()));
|
||||||
.isImage());
|
|
||||||
redactionLog.getRedactionLogEntry().addAll(newRedactionLogEntries);
|
redactionLog.getRedactionLogEntry().addAll(newRedactionLogEntries);
|
||||||
return finalizeAnalysis(analyzeRequest, startTime, redactionLog, text, dictionaryIncrement);
|
return finalizeAnalysis(analyzeRequest, startTime, redactionLog, text, dictionaryIncrement);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user