orcid-no-doi #43

Merged
claudio.atzori merged 45 commits from enrico.ottonello/dnet-hadoop:orcid-no-doi into master 2020-12-02 10:55:12 +01:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit c58db1c8ea - Show all commits

View File

@ -185,6 +185,7 @@ public class PublicationToOaf implements Serializable {
.map(t -> { .map(t -> {
return mapStructuredProperty(t, q, null); return mapStructuredProperty(t, q, null);
}) })
.filter(s -> s!=null)
.collect(Collectors.toList())); .collect(Collectors.toList()));
// Adding identifier // Adding identifier
final String id = getStringValue(rootElement, "id"); final String id = getStringValue(rootElement, "id");
@ -376,7 +377,7 @@ public class PublicationToOaf implements Serializable {
.map(r -> { .map(r -> {
return mapStructuredProperty(r, q, null); return mapStructuredProperty(r, q, null);
}) })
.collect(Collectors.toList())); .filter(s -> s!=null).collect(Collectors.toList()));
} }
} }