Pull request #177: RED-1637: Fixed hasImages flag
Merge in RED/redaction-service from RED-1637 to master * commit '5d5b3529cd8e45493cc91df3cb8b1f2a3ba14b4e': RED-1637: Fixed hasImages flag
This commit is contained in:
commit
19680668ed
@ -27,7 +27,7 @@ public class AnalyzeResponseService {
|
||||
boolean hasImages = redactionLog.getRedactionLogEntry()
|
||||
.stream()
|
||||
.filter(entry -> !entry.isExcluded())
|
||||
.anyMatch(entry -> entry.isHint() && entry.getType().equals("image"));
|
||||
.anyMatch(entry -> entry.isHint() && entry.getType().equals("image") || entry.isImage());
|
||||
|
||||
boolean hasUpdates = redactionChangeLog != null && redactionChangeLog.getRedactionLogEntry() != null && !redactionChangeLog
|
||||
.getRedactionLogEntry()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user