master #59

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

View File

@ -113,27 +113,15 @@ object SparkProduceHostedByMap {
}
def oaToHostedbyItemType(dats: Datasource): HostedByItemType = {
if (dats.getJournal != null) {
if(dats.getOfficialname != null) {
return getHostedByItemType(
dats.getId,
dats.getOfficialname.getValue,
dats.getJournal.getIssnPrinted,
dats.getJournal.getIssnOnline,
dats.getJournal.getIssnLinking,
false
)
}
if (dats.getJournal != null && dats.getOfficialname != null) {
return getHostedByItemType(
dats.getId,
"",
dats.getOfficialname.getValue,
dats.getJournal.getIssnPrinted,
dats.getJournal.getIssnOnline,
dats.getJournal.getIssnLinking,
false
)
}
HostedByItemType("", "", "", "", "", false)
}