[EOSC] removed filtering out of organization without name
This commit is contained in:
parent
95ff4a81dc
commit
1c06aae1c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue