Add KioskTab.hashCode() matching equals

This commit is contained in:
Eric Xu 2021-05-22 00:13:49 -04:00 committed by Zhiheng Xu
parent 1cac3895dc
commit d2b03afcf4
1 changed files with 5 additions and 0 deletions

View File

@ -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;
} }