mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 11:14:47 +03:00
Replace != null with is not null
This commit is contained in:
@@ -881,7 +881,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
i.UrlFormatString,
|
||||
value)
|
||||
};
|
||||
}).Where(i => i != null)
|
||||
}).Where(i => i is not null)
|
||||
.Concat(item.GetRelatedUrls())!; // We just filtered out all the nulls
|
||||
}
|
||||
|
||||
@@ -1071,7 +1071,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
|
||||
var musicArtists = albums
|
||||
.Select(i => i.MusicArtist)
|
||||
.Where(i => i != null);
|
||||
.Where(i => i is not null);
|
||||
|
||||
var musicArtistRefreshTasks = musicArtists.Select(i => i.ValidateChildren(new SimpleProgress<double>(), options, true, cancellationToken));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user