KEYCLOAK-15208: PermissionTicketAdapter checks for the wrong type
This commit is contained in:
parent
e01159a943
commit
c288175c03
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class PermissionTicketAdapter implements PermissionTicket, JpaModel<Permi
|
|||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || !(o instanceof Policy)) return false;
|
||||
if (o == null || !(o instanceof PermissionTicket)) return false;
|
||||
|
||||
PermissionTicket that = (PermissionTicket) o;
|
||||
return that.getId().equals(getId());
|
||||
|
|
Loading…
Reference in a new issue