mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-26 01:09:10 +01:00
Check for empty (that is: null) permissions
This commit is contained in:
@@ -100,7 +100,7 @@ public class PermissionDescriptor implements Serializable
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
return value.hashCode();
|
||||
return value == null? -1: value.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user