mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
typing error
This commit is contained in:
@@ -1291,8 +1291,7 @@ prevent the generation of resource policy entry values with null dspace_object a
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MetadataValue> getMetadata(Item item, String schema, String element, String qualifier, String lang) {
|
public List<MetadataValue> getMetadata(Item item, String schema, String element, String qualifier, String lang) {
|
||||||
//Fields of the relationship schema are virtual metadata except for relationship.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
|
||||||
//TODO: the "type" should be migrated to a constant
|
|
||||||
if (StringUtils.equals(schema, MetadataSchemaEnum.RELATION.getName()) && !StringUtils.equals(element, "type")) {
|
if (StringUtils.equals(schema, MetadataSchemaEnum.RELATION.getName()) && !StringUtils.equals(element, "type")) {
|
||||||
|
|
||||||
List<MetadataValue> relationMetadata = getRelationshipMetadata(item, false);
|
List<MetadataValue> relationMetadata = getRelationshipMetadata(item, false);
|
||||||
|
Reference in New Issue
Block a user