Remove clientRole flag from HotRodRoleEntity (#17655)

Closes #17086
This commit is contained in:
Michal Hajas 2023-03-21 09:31:54 +01:00 committed by GitHub
parent 338fefe66c
commit 6d2177f2c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,9 +80,6 @@ public class HotRodRoleEntity extends AbstractHotRodEntity {
HotRodRoleEntity entity = getHotRodEntity();
entity.updated |= ! Objects.equals(entity.clientId, clientId);
entity.clientId = clientId;
// Migration from previous version
entity.clientRole = clientId != null;
}
@Override
@ -113,10 +110,6 @@ public class HotRodRoleEntity extends AbstractHotRodEntity {
@ProtoField(number = 5)
public String description;
@Basic(sortable = true)
@ProtoField(number = 6)
public Boolean clientRole;
@Basic(sortable = true)
@ProtoField(number = 7)
public String clientId;