RED-6935: Fixed null values in file attributes #8
@ -94,7 +94,7 @@ public class DroolsExecutionService {
|
|||||||
sectionsToAnalyze.forEach(kieSession::insert);
|
sectionsToAnalyze.forEach(kieSession::insert);
|
||||||
sectionsToAnalyze.stream().flatMap(SemanticNode::streamAllSubNodes).forEach(kieSession::insert);
|
sectionsToAnalyze.stream().flatMap(SemanticNode::streamAllSubNodes).forEach(kieSession::insert);
|
||||||
document.getPages().forEach(kieSession::insert);
|
document.getPages().forEach(kieSession::insert);
|
||||||
fileAttributes.forEach(kieSession::insert);
|
fileAttributes.stream().filter(f -> f.getValue() != null).forEach(kieSession::insert);
|
||||||
|
|
||||||
if (manualRedactions != null) {
|
if (manualRedactions != null) {
|
||||||
manualRedactions.getResizeRedactions().forEach(kieSession::insert);
|
manualRedactions.getResizeRedactions().forEach(kieSession::insert);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user