kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Add KioskTab.hashCode() matching equals
rodzic
1cac3895dc
commit
d2b03afcf4
|
@ -371,6 +371,11 @@ public abstract class Tab {
|
|||
&& kioskId.equals(other.kioskId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getTabId(), kioskServiceId, kioskId);
|
||||
}
|
||||
|
||||
public int getKioskServiceId() {
|
||||
return kioskServiceId;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue