From 42e8f76778c23b1167f4ae62486dc19ea0ac404b Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 13 Jan 2022 16:06:43 +0100 Subject: [PATCH] [GraphCleaning] change the return value in the filtering function to avoid to lose the APC entities --- .../eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java b/dhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java index 37f5573d0..351bd2dd5 100644 --- a/dhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java +++ b/dhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java @@ -101,7 +101,7 @@ public class GraphCleaningFunctions extends CleaningFunctions { .orElse(true)) .orElse(true)) .orElse(true))) { - return false; + return true; } if (value instanceof Datasource) {