Add KioskTab.hashCode() matching equals
This commit is contained in:
parent
1cac3895dc
commit
d2b03afcf4
|
@ -371,6 +371,11 @@ public abstract class Tab {
|
||||||
&& kioskId.equals(other.kioskId);
|
&& kioskId.equals(other.kioskId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(getTabId(), kioskServiceId, kioskId);
|
||||||
|
}
|
||||||
|
|
||||||
public int getKioskServiceId() {
|
public int getKioskServiceId() {
|
||||||
return kioskServiceId;
|
return kioskServiceId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue