forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
3caf6ff27e
commit
178a14c491
|
@ -373,7 +373,7 @@ case object Crossref2Oaf {
|
||||||
mappingCrossrefSubType.getOrElse(objectSubType, "0038 Other literature type")
|
mappingCrossrefSubType.getOrElse(objectSubType, "0038 Other literature type")
|
||||||
)
|
)
|
||||||
|
|
||||||
val originalType = if (mappingCrossrefSubType.contains(objectType)) objectType else objectSubType
|
val originalType = if (mappingCrossrefSubType.contains(objectType)) objectType else objectSubType
|
||||||
mappingResult(result, json, cOBJCategory, originalType)
|
mappingResult(result, json, cOBJCategory, originalType)
|
||||||
if (result == null || result.getId == null)
|
if (result == null || result.getId == null)
|
||||||
return List()
|
return List()
|
||||||
|
|
Loading…
Reference in New Issue