checkstyle

This commit is contained in:
Ben Bosman
2018-12-18 10:29:04 +01:00
parent b050db1cae
commit dc6bd487e0

View File

@@ -1387,7 +1387,8 @@ prevent the generation of resource policy entry values with null dspace_object a
}
private MetadataValue getRelationMetadataFromOtherItem(Item otherItem, String relationName) {
MetadataValue metadataValue = constructMetadataValue(MetadataSchemaEnum.RELATION.getName() + "." + relationName);
MetadataValue metadataValue = constructMetadataValue(
MetadataSchemaEnum.RELATION.getName() + "." + relationName);
metadataValue.setAuthority("virtual");
metadataValue.setValue(otherItem.getID().toString());
return metadataValue;