mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 06:23:10 +00:00
[DS-2976] Ensure all database entities have a protected constructor
This commit is contained in:
@@ -84,7 +84,14 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
@Transient
|
||||
protected transient EPersonService ePersonService;
|
||||
|
||||
protected EPerson() {
|
||||
/**
|
||||
* Protected constructor, create object using:
|
||||
* {@link org.dspace.eperson.service.EPersonService#create(Context)}
|
||||
*
|
||||
*/
|
||||
protected EPerson()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user