mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix hashCode method for TrackSelection
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=119842923
This commit is contained in:
parent
d9dcc58dca
commit
7ad34c5c5c
1 changed files with 1 additions and 3 deletions
|
|
@ -87,9 +87,7 @@ public final class TrackSelection {
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
if (hashCode == 0) {
|
if (hashCode == 0) {
|
||||||
int result = 17;
|
hashCode = 31 * group + Arrays.hashCode(tracks);
|
||||||
result = 31 * result + group;
|
|
||||||
result = 31 * result + Arrays.hashCode(tracks);
|
|
||||||
}
|
}
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue