checkstyle

This commit is contained in:
Ben Bosman
2018-12-18 10:29:47 +01:00
parent efd579f054
commit fe437ad88d

View File

@@ -1291,7 +1291,8 @@ prevent the generation of resource policy entry values with null dspace_object a
*/
@Override
public List<MetadataValue> getMetadata(Item item, String schema, String element, String qualifier, String lang) {
//Fields of the relation schema are virtual metadata except for relation.type which is the type of item in the model
//Fields of the relation schema are virtual metadata
//except for relation.type which is the type of item in the model
if (StringUtils.equals(schema, MetadataSchemaEnum.RELATION.getName()) && !StringUtils.equals(element, "type")) {
List<MetadataValue> relationMetadata = getRelationshipMetadata(item, false);