diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-07-22 08:09:33 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-07-22 08:09:33 +0200 |
| commit | 6382563440b69d816639abc2b4d03fca1d35eca2 (patch) | |
| tree | 21e102865fcfd24cb778dfe54e634a10b4e8d36f /MediaBrowser.Controller/Entities/Trailer.cs | |
| parent | 733b4ba73a439aae2c2fe03c6084e2cbdfb22a39 (diff) | |
Prefer null checks over HasValue everywhere
Diffstat (limited to 'MediaBrowser.Controller/Entities/Trailer.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Trailer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Trailer.cs b/MediaBrowser.Controller/Entities/Trailer.cs index 939709215c..a2465eedf0 100644 --- a/MediaBrowser.Controller/Entities/Trailer.cs +++ b/MediaBrowser.Controller/Entities/Trailer.cs @@ -49,7 +49,7 @@ namespace MediaBrowser.Controller.Entities { var hasChanges = base.BeforeMetadataRefresh(replaceAllMetadata); - if (!ProductionYear.HasValue) + if (ProductionYear is null) { var info = LibraryManager.ParseName(Name); |
