[cleaning] fixed filtering function for missing titles

This commit is contained in:
Claudio Atzori 2021-07-23 11:55:55 +02:00
parent 9069958479
commit ffdb2a3ea3
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
Result r = (Result) value;
if (Objects.nonNull(r.getTitle()) && r.getTitle().isEmpty()) {
if (Objects.isNull(r.getTitle()) || r.getTitle().isEmpty()) {
return false;
}