mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
DS-3339 possible nullpointer in ResourcePolicy$hashCode
This commit is contained in:
@@ -145,7 +145,7 @@ public class ResourcePolicy implements ReloadableEntity<Integer> {
|
||||
hash = 19 * hash + -1;
|
||||
}
|
||||
|
||||
if(this.epersonGroup != null)
|
||||
if(this.getEPerson() != null)
|
||||
{
|
||||
hash = 19 * hash + this.getEPerson().hashCode();
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user