mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 13:03:11 +00:00
[CSTPER-221] Minor changes and cleanup
This commit is contained in:
@@ -149,6 +149,7 @@ public class EZIDIdentifierProvider
|
||||
log.debug("register {}", dso);
|
||||
|
||||
if (!(dso instanceof Item)) {
|
||||
// DOI are currently assigned only to Item
|
||||
return null;
|
||||
}
|
||||
DSpaceObjectService<DSpaceObject> dsoService = contentServiceFactory.getDSpaceObjectService(dso);
|
||||
@@ -175,6 +176,7 @@ public class EZIDIdentifierProvider
|
||||
log.debug("register {} as {}", object, identifier);
|
||||
|
||||
if (!(object instanceof Item)) {
|
||||
// DOI are currently assigned only to Item
|
||||
return;
|
||||
}
|
||||
EZIDResponse response;
|
||||
|
Reference in New Issue
Block a user