master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
1 changed files with 2 additions and 0 deletions
Showing only changes of commit d5b29d96a7 - Show all commits

View File

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