mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 10:44:50 +03:00
Replace != null with is not null
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Emby.Server.Implementations.Library
|
||||
{
|
||||
var defaultStream = sortedStreams.FirstOrDefault(i => i.IsDefault);
|
||||
|
||||
if (defaultStream != null)
|
||||
if (defaultStream is not null)
|
||||
{
|
||||
return defaultStream.Index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user