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