mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 19:43:10 +00:00
First batch of errorprone fixes. #3061
This commit is contained in:
@@ -310,7 +310,7 @@ public class CollectionServiceImpl extends DSpaceObjectServiceImpl<Collection> i
|
||||
* whitespace.
|
||||
*/
|
||||
if (value == null) {
|
||||
clearMetadata(context, collection, field.SCHEMA, field.ELEMENT, field.QUALIFIER, Item.ANY);
|
||||
clearMetadata(context, collection, field.schema, field.element, field.qualifier, Item.ANY);
|
||||
collection.setMetadataModified();
|
||||
} else {
|
||||
super.setMetadataSingleValue(context, collection, field, null, value);
|
||||
|
Reference in New Issue
Block a user