forked from D-Net/dnet-hadoop
[cleaning] fixed filtering function for missing titles
This commit is contained in:
parent
9069958479
commit
ffdb2a3ea3
|
@ -98,7 +98,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
|
||||||
|
|
||||||
Result r = (Result) value;
|
Result r = (Result) value;
|
||||||
|
|
||||||
if (Objects.nonNull(r.getTitle()) && r.getTitle().isEmpty()) {
|
if (Objects.isNull(r.getTitle()) || r.getTitle().isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue