From 1c06aae1c61016f357d2eaf0a00bd8b005c17e69 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 15 Feb 2024 14:58:41 +0100 Subject: [PATCH] [EOSC] removed filtering out of organization without name --- .../dump/eosc/ExtendEoscResultWithOrganizationStep2.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/eosc/ExtendEoscResultWithOrganizationStep2.java b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/eosc/ExtendEoscResultWithOrganizationStep2.java index ab8b368..4fd763e 100644 --- a/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/eosc/ExtendEoscResultWithOrganizationStep2.java +++ b/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/eosc/ExtendEoscResultWithOrganizationStep2.java @@ -335,9 +335,9 @@ public class ExtendEoscResultWithOrganizationStep2 implements Serializable { private static boolean isToBeRemovedOrg(Organization org) { if (Boolean.TRUE.equals(org.getDataInfo().getDeletedbyinference())) return true; - if (!Optional.ofNullable(org.getLegalname()).isPresent() - && !Optional.ofNullable(org.getLegalshortname()).isPresent()) - return true; +// if (!Optional.ofNullable(org.getLegalname()).isPresent() +// && !Optional.ofNullable(org.getLegalshortname()).isPresent()) +// return true; return false; }