aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Trailer.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-07-22 08:09:33 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-07-22 08:09:33 +0200
commit6382563440b69d816639abc2b4d03fca1d35eca2 (patch)
tree21e102865fcfd24cb778dfe54e634a10b4e8d36f /MediaBrowser.Controller/Entities/Trailer.cs
parent733b4ba73a439aae2c2fe03c6084e2cbdfb22a39 (diff)
Prefer null checks over HasValue everywhere
Diffstat (limited to 'MediaBrowser.Controller/Entities/Trailer.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Trailer.cs2
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);