mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Fix bugs with integration test
This commit is contained in:
@@ -144,7 +144,7 @@ public class RepositoryPermission implements PermissionObject, Serializable
|
||||
{
|
||||
// Normally we do not have a log of repository permissions having the same size of verbs, but different content.
|
||||
// Therefore we do not use the verbs themselves for the hash code but only the number of verbs.
|
||||
return Objects.hashCode(name, verbs.size(), role, groupPermission);
|
||||
return Objects.hashCode(name, verbs == null? -1: verbs.size(), role, groupPermission);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user