kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Add Tab.hashCode() to go with equals
rodzic
96d731dfc7
commit
01aab25889
|
@ -119,6 +119,11 @@ public abstract class Tab {
|
|||
return getTabId() == other.getTabId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hashCode(getTabId());
|
||||
}
|
||||
|
||||
/*//////////////////////////////////////////////////////////////////////////
|
||||
// JSON Handling
|
||||
//////////////////////////////////////////////////////////////////////////*/
|
||||
|
|
Ładowanie…
Reference in New Issue