Prefer null checks over HasValue everywhere
This commit is contained in:
@@ -507,7 +507,7 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
{
|
||||
var hasChanges = base.BeforeMetadataRefresh(replaceAllMetadata);
|
||||
|
||||
if (!ProductionYear.HasValue)
|
||||
if (ProductionYear is null)
|
||||
{
|
||||
var info = LibraryManager.ParseName(Name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user