Skip to content

Commit

Permalink
Fix 10.10 nullability (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero authored Oct 26, 2024
1 parent 35fe6fa commit 4c2240d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jellyfin.Plugin.Tvdb/ProviderIdsExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;

using MediaBrowser.Model.Entities;
Expand Down Expand Up @@ -117,6 +118,6 @@ public static bool HasProviderId(this IHasProviderIds? item, string name, out st
return result;
}

private static bool HasValue(string? value)
private static bool HasValue([NotNullWhen(true)] string? value)
=> !string.IsNullOrWhiteSpace(value);
}

0 comments on commit 4c2240d

Please sign in to comment.