orcid-no-doi #43
|
@ -169,8 +169,7 @@ public class PublicationToOaf implements Serializable {
|
||||||
Field<String> sourceField = mapStringField(source, null);
|
Field<String> sourceField = mapStringField(source, null);
|
||||||
if (sourceField == null) {
|
if (sourceField == null) {
|
||||||
publication.setSource(null);
|
publication.setSource(null);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
publication.setSource(Arrays.asList(sourceField));
|
publication.setSource(Arrays.asList(sourceField));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -383,7 +382,8 @@ public class PublicationToOaf implements Serializable {
|
||||||
.map(r -> {
|
.map(r -> {
|
||||||
return mapStructuredProperty(r, q, null);
|
return mapStructuredProperty(r, q, null);
|
||||||
})
|
})
|
||||||
.filter(s -> s!=null).collect(Collectors.toList()));
|
.filter(s -> s != null)
|
||||||
|
.collect(Collectors.toList()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue