1
0
Fork 0

rule out records with NULL dataInfo, except for Relations

This commit is contained in:
Claudio Atzori 2023-07-31 17:52:56 +02:00
parent ccac6a7f75
commit da1727f93f
1 changed files with 14 additions and 14 deletions

View File

@ -225,7 +225,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
} }
public static <T extends Oaf> boolean filter(T value) { public static <T extends Oaf> boolean filter(T value) {
if (Boolean.TRUE if (!(value instanceof Relation) && (Boolean.TRUE
.equals( .equals(
Optional Optional
.ofNullable(value) .ofNullable(value)
@ -237,7 +237,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
.ofNullable(d.getInvisible()) .ofNullable(d.getInvisible())
.orElse(true)) .orElse(true))
.orElse(false)) .orElse(false))
.orElse(true))) { .orElse(true)))) {
return true; return true;
} }