Add ChannelTab.hashCode() matching equals
This commit is contained in:
parent
346df8a36c
commit
6ab457e51c
1 changed files with 5 additions and 0 deletions
|
|
@ -456,6 +456,11 @@ public abstract class Tab {
|
||||||
&& channelName.equals(other.channelName);
|
&& channelName.equals(other.channelName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(getTabId(), channelServiceId, channelUrl, channelName);
|
||||||
|
}
|
||||||
|
|
||||||
public int getChannelServiceId() {
|
public int getChannelServiceId() {
|
||||||
return channelServiceId;
|
return channelServiceId;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue