[cleaning] fixed filtering function for missing titles

This commit is contained in:
Claudio Atzori 2021-07-23 11:55:55 +02:00
parent ca74e8dd02
commit bc835d2024
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;
}