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

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);