This commit is contained in:
Miriam Baglioni 2022-04-14 14:14:44 +02:00
commit 0012e57bf9
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ object SparkGenerateDoiBoost {
}
} else {
if (a != null && a._2 != null) {
b.mergeOAFDataInfo(a._2)
b.mergeFrom(a._2)
b.setId(a._1)
val authors = AuthorMerger.mergeAuthor(b.getAuthor, a._2.getAuthor)
@ -87,6 +88,7 @@ object SparkGenerateDoiBoost {
return b2
} else {
if (b2 != null) {
b1.mergeOAFDataInfo(b2)
b1.mergeFrom(b2)
val authors = AuthorMerger.mergeAuthor(b1.getAuthor, b2.getAuthor)
b1.setAuthor(authors)