kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Add ChannelTab.hashCode() matching equals
rodzic
14bbaccb9f
commit
1812249d37
|
@ -456,6 +456,11 @@ public abstract class Tab {
|
|||
&& channelName.equals(other.channelName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(getTabId(), channelServiceId, channelUrl, channelName);
|
||||
}
|
||||
|
||||
public int getChannelServiceId() {
|
||||
return channelServiceId;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue