DoiBoost AccessRigh #4362 - refactoring

This commit is contained in:
Miriam Baglioni 2021-07-22 12:00:23 +02:00
parent b226ba4439
commit 1a5b114906
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,8 @@ object DoiBoostMappingUtil {
i.setAccessright(getOpenAccessQualifier()) i.setAccessright(getOpenAccessQualifier())
i.getAccessright.setOpenAccessRoute(OpenAccessRoute.gold) i.getAccessright.setOpenAccessRoute(OpenAccessRoute.gold)
} }
val ar = getOpenAccessQualifier() // val ar = getOpenAccessQualifier()
publication.setBestaccessright(OafMapperUtils.qualifier(ar.getClassid, ar.getClassname, ar.getSchemeid, ar.getSchemename)) // publication.setBestaccessright(OafMapperUtils.qualifier(ar.getClassid, ar.getClassname, ar.getSchemeid, ar.getSchemename))
} }
else { else {
hb = ModelConstants.UNKNOWN_REPOSITORY hb = ModelConstants.UNKNOWN_REPOSITORY