aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-08-26 17:28:34 +0200
committerGitHub <noreply@github.com>2023-08-26 17:28:34 +0200
commit9ae429b6f64531a2f063a04d0fdd31cceb16a9b5 (patch)
treeaf2dce1e454665f90ea69ef3c752680db73d2be7 /MediaBrowser.Controller/Library
parent3ee1141a06d41ac080cd5fd6b2253e1ed23d675e (diff)
parent18a311d32fd6e3cdfed466017bda46566a013106 (diff)
Merge pull request #10141 from Bond-009/nullable3
Diffstat (limited to 'MediaBrowser.Controller/Library')
-rw-r--r--MediaBrowser.Controller/Library/ItemResolveArgs.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Library/ItemResolveArgs.cs b/MediaBrowser.Controller/Library/ItemResolveArgs.cs
index c70102167..dcd0110fb 100644
--- a/MediaBrowser.Controller/Library/ItemResolveArgs.cs
+++ b/MediaBrowser.Controller/Library/ItemResolveArgs.cs
@@ -217,7 +217,7 @@ namespace MediaBrowser.Controller.Library
/// <returns><c>true</c> if [contains file system entry by name] [the specified name]; otherwise, <c>false</c>.</returns>
public bool ContainsFileSystemEntryByName(string name)
{
- return GetFileSystemEntryByName(name) != null;
+ return GetFileSystemEntryByName(name) is not null;
}
public string GetCollectionType()