KEYCLOAK-648 Fix removing role from composite role

This commit is contained in:
Stian Thorgersen 2014-08-29 10:18:00 +02:00
parent 3e6a1f47ec
commit 7c7025a83d

View file

@ -140,11 +140,11 @@ public class RoleEntity {
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!(o instanceof RoleEntity)) return false;
RoleEntity that = (RoleEntity) o;
if (!id.equals(that.id)) return false;
if (!id.equals(that.getId())) return false;
return true;
}