mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +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;
|
hash = 19 * hash + -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.epersonGroup != null)
|
if(this.getEPerson() != null)
|
||||||
{
|
{
|
||||||
hash = 19 * hash + this.getEPerson().hashCode();
|
hash = 19 * hash + this.getEPerson().hashCode();
|
||||||
}else{
|
}else{
|
||||||
|
Reference in New Issue
Block a user