mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 11:33:11 +00:00
[DS-3003] Ensure all service & DAO implementations have a protected constructor
This commit is contained in:
@@ -40,6 +40,11 @@ public class MetadataFieldServiceImpl implements MetadataFieldService {
|
||||
@Autowired(required = true)
|
||||
protected MetadataValueService metadataValueService;
|
||||
|
||||
protected MetadataFieldServiceImpl()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public MetadataField create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) throws AuthorizeException, SQLException, NonUniqueMetadataException {
|
||||
// Check authorisation: Only admins may create DC types
|
||||
|
Reference in New Issue
Block a user