code formatting

This commit is contained in:
Claudio Atzori 2022-08-02 13:24:47 +02:00
parent 27681cf6bf
commit eb53b52f7c
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ object DataciteToOAFTransformation {
val oid = result.getId
result.setId(IdentifierFactory.createIdentifier(result))
if (!result.getId.equalsIgnoreCase(oid)) {
result.setOriginalId((oid::List(doi)).asJava)
result.setOriginalId((oid :: List(doi)).asJava)
}
var relations: List[Relation] =