Merge pull request #7021 from cvium/baseitem_closure

This commit is contained in:
Cody Robibero 2021-12-19 11:31:54 -07:00 committed by GitHub
commit db46eaa744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2739,7 +2739,7 @@ namespace MediaBrowser.Controller.Entities
}
/// <inheritdoc />
public bool Equals(BaseItem other) => Equals(Id, other?.Id);
public bool Equals(BaseItem other) => Id == other?.Id;
/// <inheritdoc />
public override int GetHashCode() => HashCode.Combine(Id);