KEYCLOAK-14474 ConsentsTest fails intermittently on auth-server-undertow
This commit is contained in:
parent
738f24aa38
commit
71dca9e1b9
1 changed files with 1 additions and 2 deletions
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
package org.keycloak.models.cache.infinispan;
|
package org.keycloak.models.cache.infinispan;
|
||||||
|
|
||||||
import org.keycloak.models.ClientModel;
|
|
||||||
import org.keycloak.models.ClientScopeModel;
|
import org.keycloak.models.ClientScopeModel;
|
||||||
import org.keycloak.models.ProtocolMapperModel;
|
import org.keycloak.models.ProtocolMapperModel;
|
||||||
import org.keycloak.models.RealmModel;
|
import org.keycloak.models.RealmModel;
|
||||||
|
@ -239,7 +238,7 @@ public class ClientScopeAdapter implements ClientScopeModel {
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o) return true;
|
if (this == o) return true;
|
||||||
if (!(o instanceof ClientModel)) return false;
|
if (!(o instanceof ClientScopeModel)) return false;
|
||||||
|
|
||||||
ClientScopeModel that = (ClientScopeModel) o;
|
ClientScopeModel that = (ClientScopeModel) o;
|
||||||
return that.getId().equals(getId());
|
return that.getId().equals(getId());
|
||||||
|
|
Loading…
Reference in a new issue